Fix field order

Replies are in order of spec, not in order of ReturnList

Signed-off-by: Markus Birth <markus@birth-online.de>
This commit is contained in:
2025-08-03 03:05:44 +01:00
parent 63f7735b96
commit fd877186d7

View File

@@ -55,7 +55,7 @@ class TflCountdown:
if resp_type in [4]:
return_fields = full_fields
else:
return_fields = ["ResponseType"] + [f for f in self.return_list if f in full_fields]
return_fields = ["ResponseType"] + [f for f in full_fields if f in self.return_list]
#print(repr(return_fields))
#print(repr(msg))
try: