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:
parent
93f752cd6d
commit
ffa28fa28a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user