1
0
mirror of https://github.com/craigerl/aprsd.git synced 2024-12-18 23:55:58 -05: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:
Hemna 2024-09-16 09:27:41 -04:00
parent 93f752cd6d
commit ffa28fa28a

View File

@ -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