From 8860db44b4e0cbbe83afca735cf4076f8d1b2b58 Mon Sep 17 00:00:00 2001 From: Blallo Date: Sun, 18 Sep 2022 23:29:49 +0200 Subject: [PATCH] Black'd --- latecomers/parse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/latecomers/parse.py b/latecomers/parse.py index a0b14af..6020a81 100644 --- a/latecomers/parse.py +++ b/latecomers/parse.py @@ -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