Fixes title/filename confusion, issue #3

This commit is contained in:
errotu
2020-11-12 11:58:36 +01:00
committed by GitHub
parent 55818ccaa0
commit 1b87077365

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).")