fix bitrate in poc.py

This commit is contained in:
Julian Wöhrer 2022-01-02 00:13:14 +01:00
parent 14e415882d
commit 8008c5ff9f

View file

@ -119,7 +119,7 @@ def decode(freq, decoded):
poc_id = decoded[21:28].replace(" ", "").zfill(7)
poc_sub = str(int(decoded[40])+1)
if bitrate is 0:
if bitrate == 0:
logging.warning("POCSAG Bitrate not found")
logging.debug(" - (%s)", decoded)
else: