catch a tb

This commit is contained in:
Nikos Kouremenos 2005-10-30 21:41:52 +00:00
parent ee46edcfb8
commit ae4f0d9aaf
1 changed files with 4 additions and 2 deletions

View File

@ -181,8 +181,10 @@ class Interface:
title = data[1]
prompt = data[2]
proposed_nick = data[3]
self.windows[account]['gc'][room_jid].show_change_nick_input_dialog(
title, prompt, proposed_nick, room_jid)
w = self.windows[account]['gc']
if w.has_key(room_jid): # user may close the window before we are here
w[room_jid].show_change_nick_input_dialog(title, prompt, proposed_nick,
room_jid)
def handle_event_http_auth(self, account, data):
#('HTTP_AUTH', account, (method, url, iq_obj))