Browse Source

celerybeat: Don't pass command line args to Beat()

Ask Solem 14 years ago
parent
commit
a4f36e7f2d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      celery/bin/celerybeat.py

+ 1 - 1
celery/bin/celerybeat.py

@@ -29,7 +29,7 @@ class BeatCommand(Command):
 
     def run(self, *args, **kwargs):
         kwargs.pop("app", None)
-        return self.app.Beat(*args, **kwargs).run()
+        return self.app.Beat(**kwargs).run()
 
     def get_options(self):
         conf = self.app.conf