Skip to content

Commit

Permalink
int to str
Browse files Browse the repository at this point in the history
  • Loading branch information
rpatel3001 committed Mar 30, 2024
1 parent 562c8e6 commit bff10d0
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 @@ -96,7 +96,7 @@ def format_jaero_imsl_message(unformatted_message):
imsl_message["fromaddr"] = addr

if refno := isu.get("refno"):
imsl_message["msgno"] = refno
imsl_message["msgno"] = str(refno)

return imsl_message

Expand Down Expand Up @@ -155,7 +155,7 @@ def format_satdump_imsl_message(unformatted_message):
if ges_id := sigunit.get("ges_id"):
imsl_message["fromaddr"] = ges_id
if ref_no := sigunit.get("ref_no"):
imsl_message["msgno"] = ref_no
imsl_message["msgno"] = str(ref_no)

return imsl_message

Expand Down

0 comments on commit bff10d0

Please sign in to comment.