From 4c5d04105aa345765fcb9a9d36dd28f228f5dc30 Mon Sep 17 00:00:00 2001 From: liorsbg Date: Mon, 11 Apr 2016 16:27:15 +0300 Subject: [PATCH] Fix for #644 --- rq/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rq/worker.py b/rq/worker.py index 529f98d..738d64f 100644 --- a/rq/worker.py +++ b/rq/worker.py @@ -605,7 +605,7 @@ class Worker(object): return False self.log.info('{0}: {1} ({2})'.format(green(job.origin), blue('Job OK'), job.id)) - if rv: + if rv is not None: log_result = "{0!r}".format(as_text(text_type(rv))) self.log.debug('Result: {0}'.format(yellow(log_result)))