Update tool_task.py
This commit is contained in:
parent
2d14184c82
commit
7eb88d6a92
|
|
@ -6,10 +6,14 @@ import os
|
|||
import time
|
||||
import json
|
||||
|
||||
from utils.crontab import crontab as MwCrontab
|
||||
|
||||
sys.path.append(os.getcwd() + "/class/core")
|
||||
import mw
|
||||
web_dir = os.getcwd() + "/web"
|
||||
if os.path.exists(web_dir):
|
||||
sys.path.append(web_dir)
|
||||
os.chdir(web_dir)
|
||||
|
||||
import core.mw as mw
|
||||
from utils.crontab import crontab as MwCrontab
|
||||
|
||||
|
||||
app_debug = False
|
||||
|
|
|
|||
Loading…
Reference in New Issue