From 1b87077365dd898e55f046d4128f5fdd704de929 Mon Sep 17 00:00:00 2001 From: errotu Date: Thu, 12 Nov 2020 11:58:36 +0100 Subject: [PATCH] Fixes title/filename confusion, issue #3 --- bin/sync_zotero_rm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sync_zotero_rm b/bin/sync_zotero_rm index 1e0cdbe..0057284 100644 --- a/bin/sync_zotero_rm +++ b/bin/sync_zotero_rm @@ -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).")