Skip to content

Commit 3ab67bb

Browse files
committed
fixed superfluous-parens
1 parent 9791e9d commit 3ab67bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_minimqtt/adafruit_minimqtt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ def _sock_exact_recv(self, bufsize):
911911
read_timeout = self.keep_alive
912912
# This will timeout with socket timeout (not keepalive timeout)
913913
rc = self._sock.recv(bufsize)
914-
if(not rc):
914+
if not rc:
915915
if self.logger:
916916
self.logger.debug("_sock_exact_recv timeout")
917917
# If no bytes waiting, raise same exception as socketpool

0 commit comments

Comments
 (0)