增加输出日志到文件

This commit is contained in:
Jalin
2019-01-08 12:08:06 +08:00
parent a6feda0a41
commit a96e08efeb
8 changed files with 35 additions and 10 deletions

View File

@@ -34,6 +34,7 @@ def test():
:return:
"""
Const.IS_TEST = True
config.OUT_PUT_LOG_TO_FILE_ENABLED = False
if '--test-notification' in sys.argv or '-n' in sys.argv:
Const.IS_TEST_NOTIFICATION = True
pass