HHC: fix missing second arg to determineGameType

This commit is contained in:
eblade
2009-03-05 10:17:17 -05:00
parent 98e0a096d2
commit 4f1697d390
2 changed files with 10 additions and 10 deletions
+7 -7
View File
@@ -85,13 +85,13 @@ class Hud:
# do we need to add some sort of condition here for dealing with a request for a font that doesn't exist?
game_params = config.get_game_parameters(self.poker_game)
if not game_params['aux'] == "":
for aux in game_params['aux']:
aux_params = config.get_aux_parameters(aux)
my_import = importName(aux_params['module'], aux_params['class'])
if my_import == None:
continue
self.aux_windows.append(my_import(self, config, aux_params))
# if not game_params['aux'] == "":
# for aux in game_params['aux']:
# aux_params = config.get_aux_parameters(aux)
# my_import = importName(aux_params['module'], aux_params['class'])
# if my_import == None:
# continue
# self.aux_windows.append(my_import(self, config, aux_params))
def create_mw(self):