From 656468f955116437ebd0765d258904977a0f0c48 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Sun, 9 Jan 2011 10:36:21 -0600 Subject: [PATCH] Storycraft: proper argument order in _update_line --- modules/Storycraft.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Storycraft.py b/modules/Storycraft.py index 59b4075..67add7e 100644 --- a/modules/Storycraft.py +++ b/modules/Storycraft.py @@ -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: