Forráskód Böngészése

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

Ask Solem 14 éve
szülő
commit
a4f36e7f2d
1 módosított fájl, 1 hozzáadás és 1 törlés
  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