Fix parameter being passed to Sql __init__ db_server not db_backend

This commit is contained in:
Worros 2009-06-20 01:17:06 +08:00
parent a47ff7fb9b
commit 966fba2165

View File

@ -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: