Added altitude and device info.

This commit is contained in:
Marat Fayzullin
2022-11-29 21:26:51 -05:00
parent c36ec38fbd
commit 22a447f590
2 changed files with 28 additions and 8 deletions

View File

@ -148,7 +148,7 @@ class AprsLocation(LatLngLocation):
def __dict__(self):
res = super(AprsLocation, self).__dict__()
for key in ["comment", "symbol", "course", "speed", "weather"]:
for key in ["comment", "symbol", "course", "speed", "altitude", "weather", "device"]:
if key in self.data:
res[key] = self.data[key]
return res