mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2025-06-28 11:05:11 +00:00
Fix issues in PR #64
This commit is contained in:
committed by
therealkrispet
parent
2e5867cc49
commit
965973a32f
@ -54,7 +54,7 @@ class ZMQUplinkConnector:
|
||||
|
||||
def send_message(self, message, scope=Scope.ZMQ, intent=None):
|
||||
message['scope'] = scope.value
|
||||
if isinstance(intent, Intent):
|
||||
if intent is not None:
|
||||
message['intent'] = intent.value
|
||||
self._zmq_push_socket.send_multipart(serialize_tfw_msg(message))
|
||||
|
||||
|
Reference in New Issue
Block a user