Fix KML/SBS-1 interfaces for new BDS08 output type

This commit is contained in:
Nick Foster
2012-06-13 20:35:05 -07:00
parent c2e5f6c2a9
commit 1be63eba0a
3 changed files with 6 additions and 5 deletions

View File

@@ -92,7 +92,7 @@ class modes_output_sql(modes_parse.modes_parse):
retstr = None
if subtype == 4:
msg = self.parseBDS08(shortdata, longdata)
(msg, typename) = self.parseBDS08(shortdata, longdata)
retstr = "INSERT OR REPLACE INTO ident (icao, ident) VALUES (" + "%i" % icao24 + ", '" + msg + "')"
elif subtype >= 5 and subtype <= 8: