Merge pull request #4 from errotu/patch-1

Fixes title/filename confusion, issue #3
This commit is contained in:
Daniel Bauer
2020-11-12 12:55:52 +01:00
committed by GitHub

View File

@@ -84,7 +84,7 @@ if __name__ == "__main__":
# Process items
print("\n#### Processing files ####\n")
for item in zot_items_pdf:
title = item['data']['title']
title = item['data']['filename']
print(title, end="", flush=True)
if title[:-4] in rm_existing_names:
print(" skipped (already exists).")