Storycraft: proper argument order in _update_line

This commit is contained in:
Brian S. Stephan 2011-01-09 10:36:21 -06:00
parent 95e7a243d1
commit 656468f955
1 changed files with 1 additions and 1 deletions

View File

@ -815,7 +815,7 @@ class Storycraft(Module):
statement = '''
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()
return line_id
except sqlite3.Error as e: