Commit 2e238998 authored by Yuxin Wu's avatar Yuxin Wu

bug fix

parent 2387c622
......@@ -11,7 +11,6 @@ from six.moves import input
import sys
from .utils import memoized
from .fs import mkdir_p
__all__ = []
......@@ -88,6 +87,7 @@ If you're resuming from a previous run you can choose to keep it.""")
else:
raise ValueError("Unknown action: {}".format(act))
LOG_DIR = dirname
from .fs import mkdir_p
mkdir_p(dirname)
LOG_FILE = os.path.join(dirname, 'log.log')
_set_file(LOG_FILE)
......
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