mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-12 09:28:31 +02:00
undo edits
This commit is contained in:
parent
1d5dd9dede
commit
c555284216
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ class DayOne(Journal.Journal):
|
|||
return "\n".join([f"{str(e)}\n# {e.uuid}\n" for e in self.entries])
|
||||
|
||||
def _update_old_entry(self, entry: Entry, new_entry: Entry) -> None:
|
||||
for attr in ("title", "body", "date", "tags"):
|
||||
for attr in ("title", "body", "date"):
|
||||
old_attr = getattr(entry, attr)
|
||||
new_attr = getattr(new_entry, attr)
|
||||
if old_attr != new_attr:
|
||||
|
|
Loading…
Add table
Reference in a new issue