fix getTableTitleRe calling in HUD_main:read_stdin, to use site_name (currently processing site name) instead of "site" which was always last site_name on list

(this may break some people's HHC's, now that it works right)
This commit is contained in:
Eric Blade 2010-02-01 08:47:55 -05:00
parent 72b890c561
commit 9cf75f7303

View File

@ -268,7 +268,7 @@ class HUD_main(object):
cards['common'] = comm_cards['common']
table_kwargs = dict(table_name = table_name, tournament = tour_number, table_number = tab_number)
search_string = getTableTitleRe(self.config, site, type, **table_kwargs)
search_string = getTableTitleRe(self.config, site_name, type, **table_kwargs)
tablewindow = Tables.Table(search_string, **table_kwargs)
if tablewindow is None: