From 544f2e6fb2ca6f8ff94a5e288408fb85d330c555 Mon Sep 17 00:00:00 2001 From: Selwin Ong Date: Wed, 7 Oct 2015 08:32:59 +0700 Subject: [PATCH] Fixed result logging call . --- rq/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rq/worker.py b/rq/worker.py index ce39605..64efdba 100644 --- a/rq/worker.py +++ b/rq/worker.py @@ -601,7 +601,7 @@ class Worker(object): self.log.info(green('Job OK')) if rv: - log_result = "{0!r}".format(as_text(rv)) + log_result = "{0!r}".format(as_text(text_type(rv))) self.log.debug('Result: {0}'.format(yellow(log_result))) if result_ttl == 0: