Update index.py

This commit is contained in:
midoks
2022-07-14 16:21:14 +08:00
parent 6f5900c0d0
commit 8bb46df983
+4 -1
View File
@@ -216,8 +216,11 @@ def getRootPath():
def getDbConfValue():
content = mw.readFile(getConf())
conf = getConf()
if not os.path.exists(conf):
return {}
content = mw.readFile(conf)
rep_scope = "\[database\](.*?)\["
tmp = re.findall(rep_scope, content, re.S)