From 9182b966e38e33165db0e9db8ef13f3c8b55f65b Mon Sep 17 00:00:00 2001 From: James Turk Date: Tue, 15 May 2012 16:55:49 -0400 Subject: [PATCH] just call task directly --- oyster/scripts/signal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oyster/scripts/signal.py b/oyster/scripts/signal.py index d5b5c18..16bd46a 100644 --- a/oyster/scripts/signal.py +++ b/oyster/scripts/signal.py @@ -28,7 +28,7 @@ def main(): module, name = args.task.rsplit('.', 1) task = getattr(__import__(module, fromlist=[name]), name) for doc in docs: - task.apply((doc['_id'],)) + task(doc['_id']) else: for doc in docs: