attempt to stop a KeyError problem (problem patching up the symptoms rather than fixing the cause)
This commit is contained in:
parent
d905b6e780
commit
1640ab3cfc
|
@ -450,6 +450,8 @@ class Flop_Mucked(Aux_Seats):
|
|||
self.displayed = True
|
||||
if i != "common":
|
||||
id = self.get_id_from_seat(i)
|
||||
# sc: had KeyError here with new table so added id != None test as a guess:
|
||||
if id != None:
|
||||
self.m_windows[i].eb.set_tooltip_text(self.hud.stat_dict[id]['screen_name'])
|
||||
|
||||
def update_gui(self, new_hand_id):
|
||||
|
|
Loading…
Reference in New Issue
Block a user