Update py_common.py (#143)

This commit is contained in:
Nicholas (Nick) Kruzan
2023-02-12 13:20:42 +01:00
committed by GitHub
parent 66c29840b0
commit 0d7a310007
+1 -1
View File
@@ -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")):