mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Use single-quote for strings in detect_spatialite()
This commit is contained in:
parent
7945f4fbf2
commit
5e6b890080
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue