count aprs decodes, too

This commit is contained in:
Jakob Ketterl
2019-09-12 23:23:50 +02:00
parent bc5b16b5e3
commit 338a19373c
2 changed files with 19 additions and 1 deletions

View File

@ -252,7 +252,9 @@ class WsjtParser(object):
def pushDecode(self, mode):
metrics = Metrics.getSharedInstance()
band = self.band.getName()
band = "unknown"
if self.band is not None:
band = self.band.getName()
if band is None:
band = "unknown"