From c40dfe38178a0fc84d97ac414840f7f3306ca68f Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 6 Mar 2018 12:10:37 +0100 Subject: [PATCH] fix traceback at end of file transfer. Fixes #8932 --- gajim/common/socks5.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gajim/common/socks5.py b/gajim/common/socks5.py index ed9e7cd51..a81d20418 100644 --- a/gajim/common/socks5.py +++ b/gajim/common/socks5.py @@ -423,7 +423,7 @@ class SocksQueue: connections with 1 """ if idx != -1: - for key in self.senders.keys(): + for key in list(self.senders.keys()): if idx in key: self.remove_sender_by_key(key, do_disconnect=do_disconnect) if not remove_all: