Skip to content

Commit

Permalink
Add carriage return
Browse files Browse the repository at this point in the history
  • Loading branch information
rpatel3001 authored Feb 20, 2024
1 parent 98f7c8b commit c287013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/scripts/acars2pos.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c287013

Please sign in to comment.