From c0b45c1db6b9df8b5921e71e03e2828275e5c38b Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Mon, 5 Aug 2019 23:10:06 +0100 Subject: [PATCH] Fix adding of time to relay messages --- core/relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/relay.py b/core/relay.py index ff3eaaa..76dbc87 100644 --- a/core/relay.py +++ b/core/relay.py @@ -140,5 +140,5 @@ def sendRelayNotification(name, cast): if cast["type"] in main.relayConnections[i].subscriptions or set(main.relayConnections[i].subscriptions).issubset(cast): newCast = deepcopy(cast) newCast["name"] = name - newCast["time"] = datetime.now() + newCast["time"] = str(datetime.now()) main.relayConnections[i].send(dumps(newCast))