From 50f1f38fe3ff1cfc944e2b2335af44d0074358ec Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Fri, 22 Jul 2011 14:29:08 -0400 Subject: [PATCH] list, not tuple --- wiki/task_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiki/task_manager.py b/wiki/task_manager.py index a1d4cca..61e8386 100644 --- a/wiki/task_manager.py +++ b/wiki/task_manager.py @@ -57,7 +57,7 @@ def start_tasks(now=time.gmtime()): now.tm_wday) # get list of tasks to run this turn for task in tasks: - if isinstance(task, tuple): # they've specified kwargs + if isinstance(task, list): # they've specified kwargs start_task(task[0], **task[1]) # so pass those to start_task else: # otherwise, just pass task_name start_task(task)