Revert "Print correct filenames when files are skipped"
This reverts commit b0b93eb471.
Broke the webapp output.
This commit is contained in:
@@ -33,7 +33,7 @@ def main(files, threshold, limit, bs, csv, input_file, group_tags, name_only, mo
|
||||
files = [click.open_file(filepath, "rb") for filepath in filepaths]
|
||||
predictions = autotagger.predict(files, threshold=threshold, limit=limit, bs=bs)
|
||||
|
||||
for filepath, tags in predictions:
|
||||
for filepath, tags in zip(filepaths, predictions):
|
||||
output_result(filepath, tags, csv, group_tags, name_only)
|
||||
|
||||
def output_result(filepath, tags, csv, group_tags, name_only):
|
||||
|
||||
Reference in New Issue
Block a user