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

This commit is contained in:
Jean-Marie Traissard 2007-12-30 12:44:30 +00:00
parent ab8024dfce
commit 8be83102b7
1 changed files with 1 additions and 1 deletions

View File

@ -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()