Use single-quote for strings in detect_spatialite()

This commit is contained in:
Alex Garcia 2025-03-19 16:59:18 -07:00
commit 5e6b890080

View file

@ -586,7 +586,7 @@ def get_all_foreign_keys(conn):
def detect_spatialite(conn):
rows = conn.execute(
'select 1 from sqlite_master where tbl_name = "geometry_columns"'
"select 1 from sqlite_master where tbl_name = 'geometry_columns'"
).fetchall()
return len(rows) > 0