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