X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fspeichern.py;h=d7fcc1254b4e6204d1e4d1abd1fa42c69bbdd5d5;hb=e747064bced213416fda192d7bfea5157c931db5;hp=c66e811bd5b6e5066daa35f09496a379526f09b1;hpb=125b4fc6cc659ccd8ea0d83e4d7bc9e408cd35ed;p=quicknote diff --git a/src/speichern.py b/src/speichern.py index c66e811..d7fcc12 100644 --- a/src/speichern.py +++ b/src/speichern.py @@ -165,7 +165,7 @@ class Speichern(object): def loadNote(self, noteid): if noteid is None or str(noteid) == "": - return (None, None, None) + return (None, None, None, None) sql = "SELECT noteid, pcdatum, category, note FROM notes WHERE noteid = ?" rows = self.ladeSQL(sql, (noteid, )) if rows is None or len(rows) == 0: