drop empty Q65 decodes

This commit is contained in:
Jakob Ketterl 2021-02-05 01:07:09 +01:00
parent e8fca853df
commit 8e4716f241

View File

@ -197,6 +197,9 @@ class WsjtParser(Parser):
else: else:
decoder = Jt9Decoder(profile, messageParser) decoder = Jt9Decoder(profile, messageParser)
out = decoder.parse(msg, freq) out = decoder.parse(msg, freq)
if isinstance(profile, Q65Profile) and not out["msg"]:
# all efforts in vain, it's just a potential signal indicator
return
out["mode"] = mode out["mode"] = mode
out["interval"] = profile.getInterval() out["interval"] = profile.getInterval()