mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-29 14:06:14 +02:00
Save empty journal on install instead of just creating a zero-length file (#1690)
* Add failing test for issue #1493 * Write journal upon creation instead of just creating 0-length file * Fix test to accommodate current password mocking form
This commit is contained in:
parent
592e7bcf27
commit
3c87111710
2 changed files with 17 additions and 1 deletions
|
@ -123,6 +123,7 @@ class Journal:
|
|||
},
|
||||
)
|
||||
)
|
||||
self.write()
|
||||
|
||||
text = self._load(filename)
|
||||
text = self._decrypt(text)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue