diff --git a/DataStore.py b/DataStore.py index 837ef1a..8f6a214 100644 --- a/DataStore.py +++ b/DataStore.py @@ -179,7 +179,7 @@ FROM tasks c.execute(''' INSERT INTO tasks VALUES (?, ?, ?, ?) -''', (nextid, name, longname, parentid)) +''', (nextid, name.strip(), longname.strip(), parentid)) c.close() self.conn.commit() return nextid