mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 05:26:13 +02:00
Fixed writing to file (entry must be converted to str first)
This commit is contained in:
parent
48b05f9f02
commit
1ba3b3e58c
1 changed files with 1 additions and 1 deletions
2
jrnl.py
2
jrnl.py
|
@ -105,7 +105,7 @@ class Journal:
|
|||
filename = filename or self.config['journal']
|
||||
journal_file = open(filename, 'w')
|
||||
for entry in self.entries:
|
||||
journal_file.write(entry)
|
||||
journal_file.write(str(entry))
|
||||
journal_file.close()
|
||||
|
||||
def sort(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue