X-Git-Url: http://git.maemo.org/git/?p=quicknote;a=blobdiff_plain;f=src%2Fspeichern.py;h=d7fcc1254b4e6204d1e4d1abd1fa42c69bbdd5d5;hp=c66e811bd5b6e5066daa35f09496a379526f09b1;hb=c221af5010a40a6b10c50062d3df88c21d519492;hpb=7548c1e4bba5998dfe6698d36d578746341e3f41 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: