From 27e45856b030f29e0ccf7c55e9923d4cc93434b6 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 7 Apr 2018 22:04:32 +0200 Subject: [PATCH] prevent traceback. Fixes #9054 --- 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 a81d20418..903b9f3c5 100644 --- a/gajim/common/socks5.py +++ b/gajim/common/socks5.py @@ -319,7 +319,7 @@ class SocksQueue: self.process_result(result, sender) def send_file(self, file_props, account, mode): - for key in self.senders.keys(): + for key in list(self.senders.keys()): if file_props.name in key and file_props.transport_sid in key \ and self.senders[key].mode == mode: log.info('socks5: sending file')