diff --git a/pyfpdb/HUD_main.py b/pyfpdb/HUD_main.py index 8b7c8700..ed474f8c 100755 --- a/pyfpdb/HUD_main.py +++ b/pyfpdb/HUD_main.py @@ -76,7 +76,7 @@ def create_HUD(new_hand_id, table, db_name, table_name, max, poker_game, db_conn gtk.gdk.threads_leave gobject.idle_add(idle_func) -def update_HUD(new_hand_id, config, stat_dict): +def update_HUD(new_hand_id, table_name, config, stat_dict): global hud_dict def idle_func(): gtk.threads_enter() @@ -109,7 +109,7 @@ def read_stdin(): # This is the thread function # if a hud for this table exists, just update it if hud_dict.has_key(table_name): - update_HUD(new_hand_id, config, stat_dict) + update_HUD(new_hand_id, table_name, config, stat_dict) # otherwise create a new hud else: table_windows = Tables.discover(config)