mirror of
https://github.com/simonw/datasette.git
synced 2026-07-13 11:04:37 +02:00
Merge 5e6b890080 into db82123108
This commit is contained in:
commit
27c6ec5f83
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue