Skip to content

Commit 780aac7

Browse files
committed
tst: monitor problems
1 parent 2f5393c commit 780aac7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

heudiconv/cli/monitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def monitor(topdir='/tmp/new_dir', check_ptrn='/20../../..',
8181
db=None, wait=WAIT_TIME, logdir='log'):
8282
# make logdir if not existant
8383
try:
84-
os.makedirs(parsed.logdir)
84+
os.makedirs(logdir)
8585
except OSError:
8686
pass
8787
#paths2process = deque()

tests/test_monitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from tinydb import TinyDB, Query
77
from subprocess import CalledProcessError
88

9-
from heudiconv.monitor import monitor, process, run_heudiconv, MASK_NEWDIR
9+
from heudiconv.cli.monitor import monitor, process, run_heudiconv, MASK_NEWDIR
1010

1111

1212
class MockInotifyTree(object):

0 commit comments

Comments
 (0)