Fixing loading bad gz files and progress showing

This commit is contained in:
2019-06-26 13:06:43 +02:00
parent 049f5ca3dc
commit 1256a4de40
3 changed files with 25 additions and 21 deletions

View File

@@ -72,7 +72,7 @@ def main(args):
word_stats.add_words(words)
else:
for words in progress(load_files(args), "files", outfile=True):
for words in load_files(args):
matches = match_file(words, structures)
# just save to temporary file, used for children of a parallel process
# MUST NOT have more than one file