Fix bug in print on unknown FTC type.

This commit is contained in:
Nick Foster 2012-09-17 14:17:07 -07:00
parent 8939a72e62
commit 32da8704a9

View File

@ -177,7 +177,7 @@ class modes_output_print(modes_parse.modes_parse):
retstr = "Type 17 BDS6,2 (emergency) from %x type %s" % (icao24, emerg_str) retstr = "Type 17 BDS6,2 (emergency) from %x type %s" % (icao24, emerg_str)
else: else:
retstr = "Type 17 subtype %i from %x not implemented" % (data["me"], icao24) retstr = "Type 17 with FTC=%i from %x not implemented" % (data["ftc"], icao24)
return retstr return retstr