From 32da8704a9b3d1e2af4e31d99d57d342ec7fb452 Mon Sep 17 00:00:00 2001 From: Nick Foster Date: Mon, 17 Sep 2012 14:17:07 -0700 Subject: [PATCH] Fix bug in print on unknown FTC type. --- python/modes_print.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/modes_print.py b/python/modes_print.py index 837666c..4791911 100644 --- a/python/modes_print.py +++ b/python/modes_print.py @@ -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) 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