fixed issue 1398, brackets in libspatialite load extension, thanks rmdpedroso
This commit is contained in:
1 parent
3494fa2d0d
commit
675245eb15
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -2260,7 +2260,7 @@ class SpatiaLiteAdapter(SQLiteAdapter):
|
||||
# Linux uses libspatialite.so
|
||||
# Mac OS X uses libspatialite.dylib
|
||||
libspatialite = SPATIALLIBS[platform.system()]
|
||||
self.execute(r'SELECT load_extension("%s");') % libspatialite
|
||||
self.execute(r'SELECT load_extension("%s");' % libspatialite)
|
||||
|
||||
self.connection.create_function('web2py_extract', 2,
|
||||
SQLiteAdapter.web2py_extract)
|
||||
|
||||
Reference in new issue
Block a user