From 3668c6f5d50cb705928d633cfd66315bff9a2747 Mon Sep 17 00:00:00 2001 From: Javier Lopez Date: Fri, 22 Apr 2016 22:53:42 +0200 Subject: [PATCH] worker.py: Fix default logging_level --- rq/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rq/worker.py b/rq/worker.py index c8b9ffb..67e8ea7 100644 --- a/rq/worker.py +++ b/rq/worker.py @@ -407,7 +407,7 @@ class Worker(object): if before_state: self.set_state(before_state) - def work(self, burst=False, logging_level=logging.INFO): + def work(self, burst=False, logging_level="INFO"): """Starts the work loop. Pops and performs all jobs on the current list of queues. When all