Commit 0983fc3e authored by ibuler's avatar ibuler

[Update] 修改小问题

parent d864a94e
......@@ -25,8 +25,7 @@ sys.path.insert(0, BASE_DIR)
dirs = ('logs', 'keys')
for d in dirs:
d2 = os.path.join('data', d)
if not os.path.isdir(d2):
os.makedirs(d2)
os.makedirs(d2, exist_ok=True)
try:
from coco import Coco
......
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