mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
Smarter UUID creation for DayOne journals
This commit is contained in:
parent
07bf1da31c
commit
09fcae26d9
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ class DayOne(Journal):
|
|||
# have a new one!
|
||||
if not hasattr(entry, "uuid"):
|
||||
new_uuid = uuid.uuid1().hex
|
||||
filename = os.path.join(self.config['journal'], "entries", uuid+".doentry")
|
||||
filename = os.path.join(self.config['journal'], "entries", new_uuid+".doentry")
|
||||
entry_plist = {
|
||||
'Creation Date': entry.date,
|
||||
'Starred': entry.starred if hasattr(entry, 'starred') else False,
|
||||
|
|
Loading…
Add table
Reference in a new issue