Fix - Scheduler - Convert task args back to utf-8

See this thread for more details:
https://groups.google.com/forum/#!topic/web2py-developers/0OPEm9WELoM
This commit is contained in:
Leonel Câmara
2015-02-24 23:13:01 +00:00
parent 942b56fdc8
commit a9f834c2e8
+1 -1
View File
@@ -310,7 +310,7 @@ def executor(queue, task, out):
from gluon import current
current.W2P_TASK = W2P_TASK
globals().update(_env)
args = loads(task.args)
args = _decode_list(loads(task.args))
vars = loads(task.vars, object_hook=_decode_dict)
result = dumps(_function(*args, **vars))
else: