diff options
Diffstat (limited to 'src/db/tasks.py')
-rw-r--r-- | src/db/tasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/tasks.py b/src/db/tasks.py index b72965b..142abae 100644 --- a/src/db/tasks.py +++ b/src/db/tasks.py @@ -86,5 +86,5 @@ def update(cursor: Cursor, task: Task, form: ValidTaskForm): def delete(cursor: Cursor, ids): if len(ids) >= 1: cursor.execute( - 'DELETE FROM tasks WHERE id IN (%s)' % ','.join('?'*len(ids)), + "DELETE FROM tasks WHERE id IN (%s)" % ",".join("?"*len(ids)), ids) |