Commit 413dc663 authored by 广宏伟's avatar 广宏伟

Merged in dev (pull request #122)

[Update] 修改日志
parents e56a4d62 a3a69ec1
...@@ -13,6 +13,10 @@ import argparse ...@@ -13,6 +13,10 @@ import argparse
import time import time
import signal import signal
dirs = ('logs', 'keys')
for d in dirs:
os.makedirs(d, exist_ok=True)
from coco import Coco from coco import Coco
try: try:
...@@ -21,9 +25,6 @@ except ImportError: ...@@ -21,9 +25,6 @@ except ImportError:
print("Please prepare config file `cp conf_example.py conf.py`") print("Please prepare config file `cp conf_example.py conf.py`")
sys.exit(1) sys.exit(1)
dirs = ('logs', 'keys')
for d in dirs:
os.makedirs(d, exist_ok=True)
BASE_DIR = os.path.dirname(os.path.abspath(__file__)) BASE_DIR = os.path.dirname(os.path.abspath(__file__))
DAEMON = False DAEMON = False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment