This commit is contained in:
Alex Garcia 2026-07-08 22:28:14 +00:00 committed by GitHub
commit 27c6ec5f83
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -704,7 +704,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