Fix parameter being passed to Sql __init__ db_server not db_backend
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ class Database:
|
|||||||
|
|
||||||
db_params = c.get_db_parameters()
|
db_params = c.get_db_parameters()
|
||||||
self.type = db_params['db-type']
|
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()
|
self.connection.rollback()
|
||||||
|
|
||||||
# To add to config:
|
# To add to config:
|
||||||
|
|||||||
Reference in New Issue
Block a user