Skip to content

Commit

Permalink
Mis-written format
Browse files Browse the repository at this point in the history
  • Loading branch information
psyciknz committed Feb 2, 2019
1 parent 0086a3c commit 7f84e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CameraEvents.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7f84e61

Please sign in to comment.