Skip to content

Commit 861cbf3

Browse files
committed
non-function code-change to keep linter happy
1 parent 1073368 commit 861cbf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_espatcontrol/adafruit_espatcontrol.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def socket_connect( # pylint: disable=too-many-branches
243243
replies = self.at_response(cmd, timeout=10, retries=retries).split(b"\r\n")
244244
for reply in replies:
245245
if reply == b"CONNECT" and (
246-
(conntype == self.TYPE_TCP or conntype == self.TYPE_SSL)
246+
conntype in (self.TYPE_TCP, self.TYPE_SSL)
247247
and self.status == self.STATUS_SOCKETOPEN
248248
or conntype == self.TYPE_UDP
249249
):

0 commit comments

Comments
 (0)