Skip to content

Commit 69edbea

Browse files
DerEnderKekselupus
authored andcommitted
style: move comment to make black happy
1 parent a0428cb commit 69edbea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pychromecast/socket_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,8 @@ def new_socket() -> socket.socket:
11051105
"""
11061106
try:
11071107
new_sock = socket.socket(socket.AF_INET6, socket.SOCK_STREAM)
1108-
new_sock.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_V6ONLY, 0) # ensuring dual-stack
1108+
# ensuring dual-stack
1109+
new_sock.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_V6ONLY, 0)
11091110
except OSError:
11101111
# falling back to IPv4 on systems without IPv6
11111112
new_sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)

0 commit comments

Comments
 (0)