Commit c20b69d3 by Bach Dániel Committed by root

add task uuid to response

parent 9f6a4328
......@@ -269,8 +269,9 @@ class SerialLineReceiver(SerialLineReceiverBase):
except (AttributeError, TypeError) as e:
raise Exception(u'Command not found: %s (%s)' % (command, e))
else:
if retval:
self.send_response(response=func.__name__, args=retval)
self.send_response(
response=func.__name__,
args={'retval': retval, 'uuid': args.get('uuid', None)})
def handle_response(self, response, args):
pass
......
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 sign in to comment