From bef2beb5c7cd9133891450bb0d40651882b568b4 Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Sat, 5 Nov 2022 08:29:14 +0100 Subject: [PATCH] fix typo --- .../obtain_livestream_data_and_load_into_database.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etl/planning_data/obtain_livestream_data_and_load_into_database.py b/etl/planning_data/obtain_livestream_data_and_load_into_database.py index a7a55ab4..7ee9ee77 100644 --- a/etl/planning_data/obtain_livestream_data_and_load_into_database.py +++ b/etl/planning_data/obtain_livestream_data_and_load_into_database.py @@ -65,7 +65,7 @@ def load_data_into_database(cursor, data): "data_source_link": None } if "Hackney" in entry["application_id"]: - entry["application_url"] != None: + if entry["application_url"] != None: if "https://" not in entry["application_url"]: entry["application_url"] = "https://developmentandhousing.hackney.gov.uk" + entry["application_url"] insert_entry(cursor, entry)