From b90382a3521289d1fc7717341c3fcf3f01b6344b Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Wed, 13 Feb 2013 10:16:52 +0400 Subject: [PATCH] fix traceback --- src/gui_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui_interface.py b/src/gui_interface.py index 7ffbb2d3e..7e2daf836 100644 --- a/src/gui_interface.py +++ b/src/gui_interface.py @@ -210,7 +210,7 @@ class Interface: #('STATUS', account, show) account = obj.conn.name if obj.show in ('offline', 'error'): - for name in self.instances[account]['online_dialog'].keys(): + for name in list(self.instances[account]['online_dialog'].keys()): # .keys() is needed to not have a dictionary length changed # during iteration error self.instances[account]['online_dialog'][name].destroy()