Storycraft: proper argument order in _update_line
This commit is contained in:
parent
95e7a243d1
commit
656468f955
@ -815,7 +815,7 @@ class Storycraft(Module):
|
|||||||
statement = '''
|
statement = '''
|
||||||
UPDATE storycraft_line SET line = ?, time = CURRENT_TIMESTAMP WHERE id = ?
|
UPDATE storycraft_line SET line = ?, time = CURRENT_TIMESTAMP WHERE id = ?
|
||||||
'''
|
'''
|
||||||
cur.execute(statement, (line_id, input_line))
|
cur.execute(statement, (input_line, line_id))
|
||||||
db.commit()
|
db.commit()
|
||||||
return line_id
|
return line_id
|
||||||
except sqlite3.Error as e:
|
except sqlite3.Error as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user