Yann Leboulanger pushed to branch master at gajim / gajim

Commits:
27e45856 by Yann Leboulanger at 2018-04-07T22:04:32+02:00
prevent traceback. Fixes #9054

- - - - -


1 changed file:

- gajim/common/socks5.py


Changes:

=====================================
gajim/common/socks5.py
=====================================
--- 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')



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/27e45856b030f29e0ccf7c55e9923d4cc93434b6

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/27e45856b030f29e0ccf7c55e9923d4cc93434b6
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
Commits@gajim.org
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to