From dbe01c8bd6c3a8111abc3eb74585e3e8c5bf2465 Mon Sep 17 00:00:00 2001 From: Kole McRae Date: Wed, 16 Jun 2021 09:37:27 -0400 Subject: [PATCH] Fixed typo that caused this to stop working Once I removed txt.txt from the required file name the script runs as expected. --- standard-notes-to-enex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/standard-notes-to-enex.py b/standard-notes-to-enex.py index 7cac455..54da245 100755 --- a/standard-notes-to-enex.py +++ b/standard-notes-to-enex.py @@ -8,7 +8,7 @@ import zipfile source = argv[1] if len(argv) > 1 else 'notes.zip' with zipfile.ZipFile(source, 'r') as zip_ref: - data = json.loads(zip_ref.read('Standard Notes Backup and Import File txt.txt').decode('utf-8')) + data = json.loads(zip_ref.read('Standard Notes Backup and Import File.txt').decode('utf-8')) def text_from_html(title, text): # Clear title -- 2.54.0