Checker tells it's better not to use == True
This commit is contained in:
parent
ab8024dfce
commit
8be83102b7
1 changed files with 1 additions and 1 deletions
|
@ -932,7 +932,7 @@ class Socks5Receiver(Socks5, IdleObject):
|
||||||
elif self.state == 3: # send 'connect' request
|
elif self.state == 3: # send 'connect' request
|
||||||
self.send_raw(self._get_request_buff(self._get_sha1_auth()))
|
self.send_raw(self._get_request_buff(self._get_sha1_auth()))
|
||||||
elif self.file_props['type'] != 'r':
|
elif self.file_props['type'] != 'r':
|
||||||
if self.file_props['paused'] == True:
|
if self.file_props['paused']:
|
||||||
self.idlequeue.plug_idle(self, False, False)
|
self.idlequeue.plug_idle(self, False, False)
|
||||||
return
|
return
|
||||||
result = self.write_next()
|
result = self.write_next()
|
||||||
|
|
Loading…
Add table
Reference in a new issue