Skip to content

Commit

Permalink
fix test flight_plan with logging issue
Browse files Browse the repository at this point in the history
  • Loading branch information
xoolive committed Jan 16, 2025
1 parent 4cac98f commit 2a31501
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/traffic/core/flightplan.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def get(self) -> Optional[Route]: # type: ignore
if not isinstance(self.elt[0], str):
return None

return airways.global_get(self.elt[0])
return airways.get(self.elt[0])

@classmethod
def valid(cls, elt: str) -> bool:
Expand Down Expand Up @@ -181,7 +181,7 @@ def get( # type: ignore
return None

if airport is not None:
return airways.global_get(self.elt[0] + airport)
return airways.get(self.elt[0] + airport)

if nm_airways.available:
possible = set(
Expand Down Expand Up @@ -210,7 +210,7 @@ def get( # type: ignore
return None

if airport is not None:
return airways.global_get(self.elt[0] + airport)
return airways.get(self.elt[0] + airport)

if nm_airways.available:
possible = set(
Expand Down

0 comments on commit 2a31501

Please sign in to comment.