Aufgrund einer Wartung wird GitLab am 18.01. zwischen 8:00 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 18.01. between 8:00 and 9:00 am.

Commit d96ffe74 authored by Jiahang Chen's avatar Jiahang Chen
Browse files

fix message print out

parent 359deef2
Pipeline #349274 passed with stage
in 12 seconds
......@@ -425,14 +425,13 @@ def on_service_request(self, body_json):
)
res = self.broker.send(receiver_endpoints=[body_json.get("replyToEndpoint", None)],
msg=json.dumps(service_reply.msg))
msg=json.dumps(service_reply.msg))
if res.status_code == 201:
print(
BColors.OKBLUE
+ "[S³I][Broker]"
+ BColors.ENDC
+ ": Send a S³I-B ServiceReply back to the requester "
+ json.dumps(body_json, indent=2)
)
def on_get_value_reply(self, msg):
......
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