diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | model.py | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,5 @@ +* Backward compatibility of journal entries to trial-2 (erikos) + 54 * Update spanish translation. @@ -63,7 +63,11 @@ class Model(gobject.GObject): return json.write(self.data) def deserialize(self, data): - self.data = json.read(data) + self.data = json.read(data) + if not self.data.has_key('shared_links'): + self.data['shared_links'] = [] + if not self.data.has_key('deleted'): + self.data['deleted'] = [] def get_links_ids(self): ids = [] |