Black'd
This commit is contained in:
parent
00baa4a2f2
commit
8860db44b4
|
@ -211,9 +211,9 @@ def parse_fr24(
|
|||
]: # noqa: E501
|
||||
try:
|
||||
id_num = flight["flight"]["identification"]["number"]
|
||||
if (_code := id_num.get("default")):
|
||||
if _code := id_num.get("default"):
|
||||
code = _code
|
||||
elif (_code := id_num.get("alternative")):
|
||||
elif _code := id_num.get("alternative"):
|
||||
code = _code
|
||||
else:
|
||||
# skip if no flight code found
|
||||
|
|
Loading…
Reference in New Issue
Block a user