specify right function name to timer, duh

This commit is contained in:
eblade 2008-12-09 08:35:19 -05:00
parent 7516d17a40
commit 5e23b55361

View File

@ -225,7 +225,7 @@ class Hud:
aux_params = config.get_aux_parameters(game_params['aux'])
self.aux_windows.append(eval("%s.%s(gtk.Window(), config, 'fpdb')" % (aux_params['module'], aux_params['class'])))
gobject.timeout_add(0.5, update_table_position)
gobject.timeout_add(0.5, self.update_table_position)
def update(self, hand, config, stat_dict):
self.hand = hand # this is the last hand, so it is available later