Skip to content

Commit

Permalink
fixed bad typing for civ craft
Browse files Browse the repository at this point in the history
  • Loading branch information
ampledata committed May 21, 2021
1 parent c70d6cb commit 40d6d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aircot/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def set_friendly_mil(icao_int: int, affil: str = "", attitude: str = ".") -> tup

def set_neutral_civ(icao: int, affil: str = "", attitude: str = ".") -> tuple:
"""Sets Affiliation and Attitude for known 'neutral' Civilian ICAOs."""
if icao_in_range(icao, "MIL"):
if icao_in_range(icao):
attitude = "n"
affil = "C"
return affil, attitude
Expand Down

0 comments on commit 40d6d05

Please sign in to comment.