Skip to content

Commit

Permalink
DirectoryWalker always points to current path
Browse files Browse the repository at this point in the history
fixes #418
  • Loading branch information
tfarago committed Oct 15, 2018
1 parent ebe0a15 commit 5437841
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions concert/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,9 @@ def __init__(self, writer=TiffWriter, dsetname='frame_{:>06}.tif', start_index=0
self._start_index = start_index

def _descend(self, name):
self._current = os.path.join(self._current, name)
create_directory(self._current)
new = os.path.join(self._current, name)
create_directory(new)
self._current = new

def _ascend(self):
if self._current == self._root:
Expand Down

0 comments on commit 5437841

Please sign in to comment.