This commit is contained in:
midoks
2022-10-20 23:40:28 +08:00
parent 0428956141
commit 3d366ee774
6 changed files with 65 additions and 37 deletions
+2 -2
View File
@@ -72,7 +72,7 @@ def getConf():
return path
def pSqliteDb(dbname='waf_history'):
def pSqliteDb(dbname='logs'):
name = "waf"
db_dir = getServerDir() + '/logs/'
@@ -261,7 +261,7 @@ def autoMakeLuaConfSingle(file):
def autoMakeLuaImportSingle(file):
path = getServerDir() + "/waf/" + file + ".json"
to_path = getServerDir() + "/waf/conf/" + file + ".lua"
to_path = getServerDir() + "/waf/conf/waf_" + file + ".lua"
content = mw.readFile(path)
# print(content)
content = json.loads(content)