Skip to content

Commit

Permalink
Update acars_formatter.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rpatel3001 authored Mar 27, 2024
1 parent 1a3e57a commit 8a0a80f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rootfs/webapp/acars_formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ def format_jaero_imsl_message(unformatted_message):

if dst := isu.get("dst"):
if addr := dst.get("addr"):
imsl_message["toaddr"] = addr
imsl_message["icao"] = addr
imsl_message["toaddr"] = int(addr, 16)
imsl_message["icao"] = int(addr, 16)

if src := isu.get("src"):
if addr := src.get("addr"):
Expand Down

0 comments on commit 8a0a80f

Please sign in to comment.