Update tool_task.py

pull/632/head
Mr Chen 6 months ago
parent 3b857833a7
commit 62a94c5c15
  1. 5
      plugins/webstats/tool_task.py

@ -39,10 +39,9 @@ def getTaskConf():
def getConfigData(): def getConfigData():
try: conf = getTaskConf()
if os.path.exists(conf):
return json.loads(mw.readFile(getTaskConf())) return json.loads(mw.readFile(getTaskConf()))
except:
pass
return { return {
"task_id": -1, "task_id": -1,
"task_list": ["migrate_hot_logs"], "task_list": ["migrate_hot_logs"],

Loading…
Cancel
Save