mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Fix member access in postgis.py
This commit is contained in:
parent
6538ba0bf2
commit
60db6b0665
@ -735,7 +735,7 @@ class GeoDB(object):
|
||||
|
||||
sql = "SELECT has_database_privilege('%(d)s', 'CREATE'), \
|
||||
has_database_privilege('%(d)s', 'TEMP')" \
|
||||
% {'d': self._quote_unicode(self.dbname)}
|
||||
% {'d': self._quote_unicode(self.uri.database())}
|
||||
c = self.con.cursor()
|
||||
self._exec_sql(c, sql)
|
||||
return c.fetchone()
|
||||
|
Loading…
x
Reference in New Issue
Block a user