mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 21:46:13 +02:00
Work on cryptography
This commit is contained in:
parent
e75e3d73a0
commit
a1b5a4099e
11 changed files with 69 additions and 17 deletions
|
@ -45,7 +45,7 @@ class Journal(object):
|
|||
def write(self, filename=None):
|
||||
"""Dumps the journal into the config file, overwriting it"""
|
||||
filename = filename or self.config['journal']
|
||||
text = u"\n".join([e.__unicode__() for e in self.entries])
|
||||
text = "\n".join([e.__unicode__() for e in self.entries])
|
||||
self._store(filename, text)
|
||||
|
||||
def _load(self, filename):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue