From aee29981a2e34c1dd218412bf063639d28add5d4 Mon Sep 17 00:00:00 2001 From: Pierrick Koch Date: Fri, 17 Feb 2023 16:20:50 +0100 Subject: [PATCH] Fix msmSignalTypes KeyError --- ntripstreams/rtcm3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntripstreams/rtcm3.py b/ntripstreams/rtcm3.py index 9d1dd6c..5fceec5 100755 --- a/ntripstreams/rtcm3.py +++ b/ntripstreams/rtcm3.py @@ -38,7 +38,7 @@ def constellation(self, messageType: int): def msmSignalTypes(self, messageType: int, msmSignals): signals = [ - self.__msmSignalTypes[self.msmConstellation(messageType)][i] + self.__msmSignalTypes[self.constellation(messageType)][i] for i, mask in enumerate(msmSignals) if mask == "1" ]