bugfixing

This commit is contained in:
Christian Raßmann 2023-07-26 10:15:02 +02:00
parent d6a3325d35
commit 1c90e3403d
1 changed files with 1 additions and 2 deletions

View File

@ -99,11 +99,10 @@ class Js8Parser(AudioChopperParser):
frame = Js8().parse_message(msg)
callsign = frame.source["callsign"]
self.pushDecode(band)
if (isinstance(frame, Js8FrameHeartbeat) or isinstance(frame, Js8FrameCompound)) and frame.grid:
callsign = frame.source["callsign"]
Map.getSharedInstance().updateLocation(
callsign, LocatorLocation(frame.grid), "JS8", band
)