fix params when creating Database instance

This commit is contained in:
sqlcoder 2009-09-27 00:06:06 +01:00
parent e75d915120
commit b054a9c09a

View File

@ -182,7 +182,7 @@ class HUD_main(object):
# need their own access to the database, but should open their own # need their own access to the database, but should open their own
# if it is required. # if it is required.
try: try:
self.db_connection = Database.Database(self.config, self.db_name, 'temp') self.db_connection = Database.Database(self.config)
self.db_connection.init_hud_stat_vars(hud_days) self.db_connection.init_hud_stat_vars(hud_days)
tourny_finder = re.compile('(\d+) (\d+)') tourny_finder = re.compile('(\d+) (\d+)')