Change quoting style on SQLite3 load_extension() call
This commit is contained in:
parent
c37d663584
commit
14ef79f2c0
1 changed files with 2 additions and 2 deletions
|
@ -108,8 +108,8 @@ class Database():
|
||||||
db.row_factory = sqlite3.Row
|
db.row_factory = sqlite3.Row
|
||||||
db.enable_load_extension(True)
|
db.enable_load_extension(True)
|
||||||
|
|
||||||
db.execute('select load_extension("mod_spatialite.so.8")')
|
db.execute("select load_extension('mod_spatialite.so.8')")
|
||||||
db.execute('select InitSpatialMetadata(1)')
|
db.execute("select InitSpatialMetadata(1)")
|
||||||
|
|
||||||
return Database(db)
|
return Database(db)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue