DataStore.createTask(): strip names
This commit is contained in:
parent
1f861b12ea
commit
fa2413810d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user