Skip to content

Commit 2a31501

Browse files
committed
fix test flight_plan with logging issue
1 parent 4cac98f commit 2a31501

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/traffic/core/flightplan.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def get(self) -> Optional[Route]: # type: ignore
139139
if not isinstance(self.elt[0], str):
140140
return None
141141

142-
return airways.global_get(self.elt[0])
142+
return airways.get(self.elt[0])
143143

144144
@classmethod
145145
def valid(cls, elt: str) -> bool:
@@ -181,7 +181,7 @@ def get( # type: ignore
181181
return None
182182

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

186186
if nm_airways.available:
187187
possible = set(
@@ -210,7 +210,7 @@ def get( # type: ignore
210210
return None
211211

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

215215
if nm_airways.available:
216216
possible = set(

0 commit comments

Comments
 (0)