Skip to content

Commit

Permalink
fix dirty bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JosuaKrause committed Oct 21, 2015
1 parent 0f47a6a commit 2117a7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ def process_directory(dir, cb, show_progress=True):

def process_whitelisted_directory(dir, whitelist, cb, show_progress=True):
wl = frozenset([ w[:3] for w in whitelist ]) if whitelist is not None else None
dirty = False
for (root, _, files) in sorted(os.walk(dir), key=itemgetter(0)):
if root != dir:
segs = root.split('/') # **/A/4/2/*.csv
Expand Down

0 comments on commit 2117a7d

Please sign in to comment.