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:
		
							parent
							
								
									72b890c561
								
							
						
					
					
						commit
						9cf75f7303
					
				| 
						 | 
					@ -268,7 +268,7 @@ class HUD_main(object):
 | 
				
			||||||
                    cards['common'] = comm_cards['common']
 | 
					                    cards['common'] = comm_cards['common']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                table_kwargs = dict(table_name = table_name, tournament = tour_number, table_number = tab_number)
 | 
					                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)
 | 
					                tablewindow = Tables.Table(search_string, **table_kwargs)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                if tablewindow is None:
 | 
					                if tablewindow is None:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user