mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-07 00:36:13 +02:00
Legacy Journal with old timestamps
This commit is contained in:
parent
f68ca1221e
commit
9c7d5af152
2 changed files with 54 additions and 1 deletions
|
@ -63,7 +63,9 @@ class EncryptedJournal(Journal.Journal):
|
|||
f.write(dummy)
|
||||
|
||||
|
||||
class LegacyEncryptedJournal(Journal.Journal):
|
||||
class LegacyEncryptedJournal(Journal.LegacyJournal):
|
||||
"""Legacy class to support opening journals encrypted with the jrnl 1.x
|
||||
standard. You'll not be able to save these journals anymore."""
|
||||
def __init__(self, name='default', **kwargs):
|
||||
super(LegacyEncryptedJournal, self).__init__(name, **kwargs)
|
||||
self.config['encrypt'] = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue