mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update index.py
This commit is contained in:
@@ -237,7 +237,9 @@ def sphinxCmd():
|
|||||||
file = getConf()
|
file = getConf()
|
||||||
content = public.readFile(file)
|
content = public.readFile(file)
|
||||||
print content
|
print content
|
||||||
return ''
|
rep = 'index\s(.*)'
|
||||||
|
tmp = re.findall(rep, content)
|
||||||
|
print tmp
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
func = sys.argv[1]
|
func = sys.argv[1]
|
||||||
|
|||||||
Reference in New Issue
Block a user