catch a async tb

This commit is contained in:
Nikos Kouremenos 2005-10-30 21:46:48 +00:00
parent ae4f0d9aaf
commit 9b1881cbbd
1 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,8 @@ class RosterWindow:
acct = self.get_account_iter(account)
found = []
fin = False
if model is None: # when closing Gajim model can be none (async pbs?)
return found
group_iter = model.iter_children(acct)
while group_iter:
user_iter = model.iter_children(group_iter)