Skip to content

Commit

Permalink
Update py_common.py (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkruzan authored Feb 12, 2023
1 parent 66c2984 commit 0d7a310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyModeS/py_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def squawk(binstr: str) -> str:
binstr (String): 13 bits binary string
Returns:
int: altitude in ft
string: squawk code
"""
if len(binstr) != 13 or not set(binstr).issubset(set("01")):
Expand Down

0 comments on commit 0d7a310

Please sign in to comment.