Fix issues in PR #64

This commit is contained in:
R. Richard
2019-08-26 11:10:39 +02:00
committed by therealkrispet
parent 2e5867cc49
commit 965973a32f
9 changed files with 28 additions and 15 deletions

View File

@ -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))