Add network name to fields shown in relay notifications

This commit is contained in:
Mark Veidemanis 2019-08-04 04:22:40 +01:00
parent 4ce093bfbe
commit 0637f762ea
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ def event(name, target, cast):
newCast["target"] = target newCast["target"] = target
if "exact" in newCast.keys(): if "exact" in newCast.keys():
del newCast["exact"] del newCast["exact"]
newCast["name"] = name
main.relayConnections[i].send(dumps(newCast)) main.relayConnections[i].send(dumps(newCast))
monitorGroups = testNetTarget(name, target) monitorGroups = testNetTarget(name, target)
if monitorGroups == False: if monitorGroups == False: