Update jrnl/DayOneJournal.py

This commit is contained in:
Jonathan Wren 2022-11-05 15:24:40 -07:00 committed by GitHub
parent 03c8f2d7a5
commit e964ecf619
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -210,7 +210,7 @@ class DayOne(Journal.Journal):
entries_from_editor = self._parse(edited) entries_from_editor = self._parse(edited)
for entry in entries_from_editor: for entry in entries_from_editor:
self._get_and_remove_uuid_from_entry(entry) entry = self._get_and_remove_uuid_from_entry(entry)
# Remove deleted entries # Remove deleted entries
edited_uuids = [e.uuid for e in entries_from_editor] edited_uuids = [e.uuid for e in entries_from_editor]