Fix adding of time to relay messages
This commit is contained in:
parent
0ee8ae0ead
commit
c0b45c1db6
|
@ -140,5 +140,5 @@ def sendRelayNotification(name, cast):
|
||||||
if cast["type"] in main.relayConnections[i].subscriptions or set(main.relayConnections[i].subscriptions).issubset(cast):
|
if cast["type"] in main.relayConnections[i].subscriptions or set(main.relayConnections[i].subscriptions).issubset(cast):
|
||||||
newCast = deepcopy(cast)
|
newCast = deepcopy(cast)
|
||||||
newCast["name"] = name
|
newCast["name"] = name
|
||||||
newCast["time"] = datetime.now()
|
newCast["time"] = str(datetime.now())
|
||||||
main.relayConnections[i].send(dumps(newCast))
|
main.relayConnections[i].send(dumps(newCast))
|
||||||
|
|
Loading…
Reference in New Issue