Fix parameter being passed to Sql __init__ db_server not db_backend
This commit is contained in:
parent
a47ff7fb9b
commit
966fba2165
|
@ -45,7 +45,7 @@ class Database:
|
|||
|
||||
db_params = c.get_db_parameters()
|
||||
self.type = db_params['db-type']
|
||||
self.sql = SQL.Sql(game = game, type = self.type, db_server = db_params['db-backend'])
|
||||
self.sql = SQL.Sql(game = game, type = self.type, db_server = db_params['db-server'])
|
||||
self.connection.rollback()
|
||||
|
||||
# To add to config:
|
||||
|
|
Loading…
Reference in New Issue
Block a user