From c287013683ed3b976c10355a57b4ab98ef31f0fa Mon Sep 17 00:00:00 2001 From: Rajan Patel Date: Tue, 20 Feb 2024 11:14:51 -0500 Subject: [PATCH] Add carriage return --- rootfs/scripts/acars2pos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/scripts/acars2pos.py b/rootfs/scripts/acars2pos.py index 7a59627..71e7bde 100755 --- a/rootfs/scripts/acars2pos.py +++ b/rootfs/scripts/acars2pos.py @@ -196,7 +196,7 @@ def thread_wrapper(func, *args): else: squawk = "0000" - out = f'MSG,3,1,1,{sbs["icao"].upper()},1,{datetime.fromtimestamp(sbs["time"]):%Y/%m/%d,%T.%f},{datetime.now():%Y/%m/%d,%T.%f},{sbs["flight"]},,,,{lat},{lon},,{squawk},,,,\n' + out = f'MSG,3,1,1,{sbs["icao"].upper()},1,{datetime.fromtimestamp(sbs["time"]):%Y/%m/%d,%T.%f},{datetime.now():%Y/%m/%d,%T.%f},{sbs["flight"]},,,,{lat},{lon},,{squawk},,,,\r\n' print(f'{Fore.BLUE}{out}{Fore.RESET}', file=stderr) for q in txqs: