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

bug fix

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