From 7f84e6150f02fbdefd4d318dbc8b8119f39c41dd Mon Sep 17 00:00:00 2001 From: psyciknz Date: Sat, 2 Feb 2019 18:13:14 +1300 Subject: [PATCH] Mis-written format --- CameraEvents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CameraEvents.py b/CameraEvents.py index 694bf90..dc55b9a 100644 --- a/CameraEvents.py +++ b/CameraEvents.py @@ -267,7 +267,7 @@ def OnReceive(self, data): region = crossData["Name"] object = crossData["Object"]["ObjectType"] - regionText = "{} With {} in {} direction for {} region".format(object,direction,region) + regionText = "{} With {} in {} direction for {} region".format(Alarm["Code"],object,direction,region) self.client.publish(self.basetopic +"/IVS/" + Alarm["channel"] ,regionText) if self.alerts: