Skip to content

Commit

Permalink
fixed superfluous-parens
Browse files Browse the repository at this point in the history
  • Loading branch information
dlizotte-uwo committed Feb 19, 2021
1 parent 9791e9d commit 3ab67bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_minimqtt/adafruit_minimqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ def _sock_exact_recv(self, bufsize):
read_timeout = self.keep_alive
# This will timeout with socket timeout (not keepalive timeout)
rc = self._sock.recv(bufsize)
if(not rc):
if not rc:
if self.logger:
self.logger.debug("_sock_exact_recv timeout")
# If no bytes waiting, raise same exception as socketpool
Expand Down

0 comments on commit 3ab67bb

Please sign in to comment.