mirror of
https://github.com/craigerl/aprsd.git
synced 2024-12-21 17:11:01 -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))
|
raw = aprslib.parse(str(frame))
|
||||||
packet = core.factory(raw)
|
packet = core.factory(raw)
|
||||||
if isinstance(packet, core.ThirdParty):
|
if isinstance(packet, core.ThirdPartyPacket):
|
||||||
return packet.subpacket
|
return packet.subpacket
|
||||||
else:
|
else:
|
||||||
return packet
|
return packet
|
||||||
|
Loading…
Reference in New Issue
Block a user