Skip to content
Snippets Groups Projects
Commit 8be83102 authored by jimpp's avatar jimpp
Browse files

Checker tells it's better not to use == True

parent ab8024df
No related branches found
No related tags found
No related merge requests found
......@@ -932,7 +932,7 @@ class Socks5Receiver(Socks5, IdleObject):
elif self.state == 3: # send 'connect' request
self.send_raw(self._get_request_buff(self._get_sha1_auth()))
elif self.file_props['type'] != 'r':
if self.file_props['paused'] == True:
if self.file_props['paused']:
self.idlequeue.plug_idle(self, False, False)
return
result = self.write_next()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment