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

Merged in dev (pull request #122)

[Update] 修改日志
parents e56a4d62 a3a69ec1
......@@ -13,6 +13,10 @@ import argparse
import time
import signal
dirs = ('logs', 'keys')
for d in dirs:
os.makedirs(d, exist_ok=True)
from coco import Coco
try:
......@@ -21,9 +25,6 @@ except ImportError:
print("Please prepare config file `cp conf_example.py conf.py`")
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__))
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