Update index.py

pull/620/head
Mr Chen 10 months ago
parent 97a07b4955
commit 875db69bcf
  1. 2
      plugins/sphinx/index.py

@ -295,7 +295,7 @@ def sphinxConfParse():
file = getConf() file = getConf()
bin_dir = getServerDir() bin_dir = getServerDir()
content = mw.readFile(file) content = mw.readFile(file)
rep = 'index\s(.*)' rep = r'index\s(.*)'
sindex = re.findall(rep, content) sindex = re.findall(rep, content)
indexlen = len(sindex) indexlen = len(sindex)
cmd = {} cmd = {}

Loading…
Cancel
Save