Commit 27e45856 authored by Yann Leboulanger's avatar Yann Leboulanger

prevent traceback. Fixes #9054

parent 93b50bf1
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment