|
|
@ -13,13 +13,13 @@ if sys.platform != 'darwin': |
|
|
|
os.chdir('/www/server/mdserver-web') |
|
|
|
os.chdir('/www/server/mdserver-web') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chdir = os.getcwd() |
|
|
|
web_dir = os.getcwd() + "/web" |
|
|
|
sys.path.append(chdir + '/class/core') |
|
|
|
if os.path.exists(web_dir): |
|
|
|
|
|
|
|
sys.path.append(web_dir) |
|
|
|
|
|
|
|
os.chdir(web_dir) |
|
|
|
|
|
|
|
|
|
|
|
# importlib.reload(sys) |
|
|
|
import core.mw as mw |
|
|
|
# sys.setdefaultencoding('utf-8') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import mw |
|
|
|
|
|
|
|
print('==================================================================') |
|
|
|
print('==================================================================') |
|
|
|
print('★[' + time.strftime("%Y/%m/%d %H:%M:%S") + '],切割日志') |
|
|
|
print('★[' + time.strftime("%Y/%m/%d %H:%M:%S") + '],切割日志') |
|
|
|
print('==================================================================') |
|
|
|
print('==================================================================') |
|
|
|