remove Database:__init__ parameters for db_name and game, as there was a comment right next to them # db_name and game not used anymore
This commit is contained in:
+1
-1
@@ -160,7 +160,7 @@ class HUD_main(object):
|
||||
# be passed to HUDs for use in the gui thread. HUD objects should not
|
||||
# need their own access to the database, but should open their own
|
||||
# if it is required.
|
||||
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)
|
||||
tourny_finder = re.compile('(\d+) (\d+)')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user