Browse Source

parse regex as int

main
AJ Schmidt 4 years ago
parent
commit
3dd1543c17
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      alarmdecoder/zonetracking.py

+ 1
- 1
alarmdecoder/zonetracking.py View File

@@ -189,7 +189,7 @@ class Zonetracker(object):
if match is None: if match is None:
return return


zone = match.group(1)
zone = int(match.group(1))


# Add new zones and clear expired ones. # Add new zones and clear expired ones.
if zone in self._zones_faulted: if zone in self._zones_faulted:


Loading…
Cancel
Save