From 8521f9b4f1bdf23ac112fbe7a472da0dad049145 Mon Sep 17 00:00:00 2001 From: Mateusz Konieczny Date: Mon, 31 Oct 2022 10:33:54 +0100 Subject: [PATCH] stop malforming links --- .../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 64e455f3..c5076b0f 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 @@ -131,7 +131,7 @@ def insert_entry(cursor, e): elements = [] application_url = None if e["application_url"] != None: - application_url = "'" + e["application_url"] + "'" + application_url = e["application_url"] cursor.execute('''INSERT INTO planning_data (planning_application_id, planning_application_link, description, registered_with_local_authority_date, decision_date, last_synced_date, status, data_source, data_source_link, uprn) VALUES