prevent traceback. Fixes #9054
This commit is contained in:
parent
93b50bf1f6
commit
27e45856b0
|
@ -319,7 +319,7 @@ class SocksQueue:
|
||||||
self.process_result(result, sender)
|
self.process_result(result, sender)
|
||||||
|
|
||||||
def send_file(self, file_props, account, mode):
|
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 \
|
if file_props.name in key and file_props.transport_sid in key \
|
||||||
and self.senders[key].mode == mode:
|
and self.senders[key].mode == mode:
|
||||||
log.info('socks5: sending file')
|
log.info('socks5: sending file')
|
||||||
|
|
Loading…
Reference in New Issue