This commit is contained in:
olari
2021-07-12 14:03:45 +03:00
parent 3ef24d2bfe
commit dcafd88b86
2 changed files with 18 additions and 2 deletions

View File

@@ -727,7 +727,7 @@ def parse_day(text):
return {
'title': title,
'header': parse_header(header),
'entries': [parse_entry(timestamp, content) for timestamp, content in entries],
'entries': [parse_entry(timestamp, content) for timestamp, content in entries]
}
def generate_day(day):
@@ -762,7 +762,7 @@ def import_journal(fpath):
},
'files': {
fname: (fpath / fname).read_text()
for fname in ['habits', 'godword', 'tasks', 'foods']
for fname in ['habits', 'godword', 'tasks', 'foods', 'backup']
}
}