Execute query on the right database.

This commit is contained in:
Antoine Nguyen
2015-10-15 20:58:08 +02:00
parent 4186b82f91
commit e65c56acc1
3 changed files with 8 additions and 5 deletions

View File

@@ -103,7 +103,7 @@ class Modoboa(base.Installer):
"UPDATE lib_parameter SET value='{}' WHERE name='{}'"
.format(value, name)
)
self.backend._exec_query(query)
self.backend._exec_query(query, self.dbname, self.dbuser)
def post_run(self):
"""Additional tasks."""