catch a async tb
This commit is contained in:
parent
ae4f0d9aaf
commit
9b1881cbbd
1 changed files with 2 additions and 0 deletions
|
@ -93,6 +93,8 @@ class RosterWindow:
|
||||||
acct = self.get_account_iter(account)
|
acct = self.get_account_iter(account)
|
||||||
found = []
|
found = []
|
||||||
fin = False
|
fin = False
|
||||||
|
if model is None: # when closing Gajim model can be none (async pbs?)
|
||||||
|
return found
|
||||||
group_iter = model.iter_children(acct)
|
group_iter = model.iter_children(acct)
|
||||||
while group_iter:
|
while group_iter:
|
||||||
user_iter = model.iter_children(group_iter)
|
user_iter = model.iter_children(group_iter)
|
||||||
|
|
Loading…
Add table
Reference in a new issue