Fix key error on removing account

This commit is contained in:
Philipp Hörist 2017-02-12 18:52:23 +01:00
parent d24bed12ce
commit 50514393f5
1 changed files with 2 additions and 0 deletions

View File

@ -1558,6 +1558,8 @@ class RosterWindow:
"""
if not self.tree.get_model():
return
if account not in gajim.connections:
return
delimiter = gajim.connections[account].nested_group_delimiter
group_splited = group.split(delimiter)
i = 1