Commit 858e2cc0 authored by Matthieu Lamalle's avatar Matthieu Lamalle

correction on result job if not success

parent 39d88881
......@@ -222,9 +222,10 @@ class ServerRunner(ZephirCommonController):
else:
dico['command'] = result['arg']
if dico['executed']:
dico['success'] = result['success']
dico['retcode'] = result['retcode']
dico['return'] = result['return']
if 'success' in result :
dico['success'] = result['success']
dico['retcode'] = result['retcode']
dico['return'] = result['return']
return dico
@register_wamp('v1.server.exec.list', notification_uri=None, database=True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment