mirror of
https://github.com/craigerl/aprsd.git
synced 2026-06-16 12:58:46 -04:00
Fixed reference to ThirdPartyPacket
This patch fixes a derefence to the core.ThirdPartyPacket from issue https://github.com/craigerl/aprsd/issues/165
This commit is contained in:
@@ -89,7 +89,7 @@ class KISSClient(base.APRSClient):
|
||||
|
||||
raw = aprslib.parse(str(frame))
|
||||
packet = core.factory(raw)
|
||||
if isinstance(packet, core.ThirdParty):
|
||||
if isinstance(packet, core.ThirdPartyPacket):
|
||||
return packet.subpacket
|
||||
else:
|
||||
return packet
|
||||
|
||||
Reference in New Issue
Block a user