From bac6699ea4f00b807fedbee185f54ba6a38abb24 Mon Sep 17 00:00:00 2001 From: Neal Todd Date: Tue, 26 May 2015 17:32:11 +0100 Subject: [PATCH] Allow non-ASCII characters in keyword arguments. --- rq/job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rq/job.py b/rq/job.py index 3c3016d..cbdf7f4 100644 --- a/rq/job.py +++ b/rq/job.py @@ -518,7 +518,7 @@ class Job(object): arg_list = [as_text(repr(arg)) for arg in self.args] - kwargs = ['{0}={1!r}'.format(k, v) for k, v in self.kwargs.items()] + kwargs = ['{0}={1}'.format(k, as_text(repr(v))) for k, v in self.kwargs.items()] # Sort here because python 3.3 & 3.4 makes different call_string arg_list += sorted(kwargs) args = ', '.join(arg_list)