From 58b3e3488fa4175ec53d56fac54cd72eb9508066 Mon Sep 17 00:00:00 2001 From: Micah Jerome Ellison Date: Sat, 31 Jul 2021 16:12:41 -0700 Subject: [PATCH] Run make format --- jrnl/Journal.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/jrnl/Journal.py b/jrnl/Journal.py index d477fd0b..b0cadf06 100644 --- a/jrnl/Journal.py +++ b/jrnl/Journal.py @@ -68,14 +68,12 @@ class Journal: def import_(self, other_journal_txt): imported_entries = self._parse(other_journal_txt) - for entry in imported_entries: entry.modified = True + for entry in imported_entries: + entry.modified = True - self.entries = list( - frozenset(self.entries) | frozenset(imported_entries) - ) + self.entries = list(frozenset(self.entries) | frozenset(imported_entries)) self.sort() - def open(self, filename=None): """Opens the journal file defined in the config and parses it into a list of Entries. Entries have the form (date, title, body)."""