From 522e44abc4ddc11692ffe6f3928c01edaf64a398 Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sat, 19 Nov 2011 17:09:09 -0500 Subject: [PATCH] Oops. --- bot/tasks/afc_history.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/tasks/afc_history.py b/bot/tasks/afc_history.py index 26996f4..9ffa05c 100644 --- a/bot/tasks/afc_history.py +++ b/bot/tasks/afc_history.py @@ -111,7 +111,7 @@ class Task(BaseTask): continue if stored: - stored_date, stored_status = list(stored) + stored_date, stored_status = list(stored)[0] if date != stored_date or status != stored_status: cursor.execute(q_update, (date, status, pageid))