Exception bug fix in modes_parse

This commit is contained in:
Nick Foster
2010-10-24 08:55:37 -07:00
parent 4d93b8f821
commit dedf60fd4e

View File

@@ -186,7 +186,7 @@ class modes_parse:
altitude = 0
[decoded_lat, decoded_lon, rnge, bearing] = cpr_decode(icao24, encoded_lat, encoded_lon, cpr_format, self._evenlist_ground, self._oddlist_ground, self._lkplist, 1, longdata)
[decoded_lat, decoded_lon, rnge, bearing] = cpr_decode(self.my_location, icao24, encoded_lat, encoded_lon, cpr_format, self._evenlist_ground, self._oddlist_ground, self._lkplist, 1, longdata)
return [altitude, decoded_lat, decoded_lon, rnge, bearing]