From ffa28fa28adc60375ec0ca03f730fc321f09bfc6 Mon Sep 17 00:00:00 2001 From: Hemna Date: Mon, 16 Sep 2024 09:27:41 -0400 Subject: [PATCH] Fixed reference to ThirdPartyPacket This patch fixes a derefence to the core.ThirdPartyPacket from issue https://github.com/craigerl/aprsd/issues/165 --- aprsd/client/kiss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aprsd/client/kiss.py b/aprsd/client/kiss.py index 14e3044..8318fc1 100644 --- a/aprsd/client/kiss.py +++ b/aprsd/client/kiss.py @@ -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