Fix failing behave tests

This commit is contained in:
Matthias Vogelgesang 2014-06-28 11:38:06 +02:00
parent 61739dd3b0
commit ae47c5bb80
4 changed files with 25 additions and 3 deletions

View file

@ -50,6 +50,7 @@ class DayOne(Journal.Journal):
entry.tags = [self.config['tagsymbols'][0] + tag for tag in dict_entry.get("Tags", [])]
self.entries.append(entry)
self.sort()
return self
def write(self):
"""Writes only the entries that have been modified into plist files."""