stop malforming links

This commit is contained in:
Mateusz Konieczny 2022-10-31 10:33:54 +01:00
parent 28285fe4ef
commit 8521f9b4f1

View File

@ -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