fix indentation
This commit is contained in:
parent
ee05914b30
commit
5d7ce867b4
1 changed files with 29 additions and 29 deletions
|
@ -302,13 +302,13 @@ class SocksQueue:
|
|||
|
||||
def send_file(self, file_props, account, mode):
|
||||
for key in self.senders.keys():
|
||||
if self.senders == {}:
|
||||
# Python acts very weird with this. When there is no keys
|
||||
# in the dictionary It says that it has a key.
|
||||
# Maybe it is my machine. Without this there is a KeyError
|
||||
# traceback.
|
||||
return
|
||||
if file_props.name in key and file_props.sid in key \
|
||||
if self.senders == {}:
|
||||
# Python acts very weird with this. When there is no keys
|
||||
# in the dictionary It says that it has a key.
|
||||
# Maybe it is my machine. Without this there is a KeyError
|
||||
# traceback.
|
||||
return
|
||||
if file_props.name in key and file_props.sid in key \
|
||||
and self.senders[key].mode == mode:
|
||||
|
||||
log.info("socks5: sending file")
|
||||
|
|
Loading…
Add table
Reference in a new issue