Adding APRS weather info and other APRS improvements.
This commit is contained in:
@ -148,7 +148,7 @@ class AprsLocation(LatLngLocation):
|
||||
|
||||
def __dict__(self):
|
||||
res = super(AprsLocation, self).__dict__()
|
||||
for key in ["comment", "symbol", "course", "speed"]:
|
||||
for key in ["comment", "symbol", "course", "speed", "weather"]:
|
||||
if key in self.data:
|
||||
res[key] = self.data[key]
|
||||
return res
|
||||
|
@ -85,6 +85,7 @@ class AudioWriter(object):
|
||||
file = self.wavefile
|
||||
self.wavefile = self.getWaveFile()
|
||||
|
||||
# if previously open file exists...
|
||||
if file is not None:
|
||||
file.close()
|
||||
tmp_dir = CoreConfig().get_temporary_directory()
|
||||
|
Reference in New Issue
Block a user