Skip to content

Commit

Permalink
Fix member access in postgis.py
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 16, 2017
1 parent 6538ba0 commit 60db6b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/tools/postgis.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ def get_database_privileges(self):

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()
Expand Down

0 comments on commit 60db6b0

Please sign in to comment.