Commits

Anonymous committed b3d7894

force interval to be int

Comments (0)

Files changed (1)

src/worker/run_worker.py

     def run(self, options):
         while True:
             logging.debug("Worker search for a gig")
-            time.sleep(options.interval)
+            time.sleep(int(options.interval))
             worker = worker_factory(factory_url=options.factory_url,
                            kitchen_path=options.kitchen)
             if worker is not None: