From 64d2a831c4f17a212c8762ea6bed92942b3920c1 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Sun, 28 Feb 2021 19:22:11 +0200 Subject: [PATCH] Fix line break after binary operator in proxy --- src/network/proxy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/network/proxy.py b/src/network/proxy.py index 953c15f5..3bd3cc66 100644 --- a/src/network/proxy.py +++ b/src/network/proxy.py @@ -61,9 +61,9 @@ class Proxy(AdvancedDispatcher): @proxy.setter def proxy(self, address): """Set proxy IP and port""" - if (not isinstance(address, tuple) or len(address) < 2 or - not isinstance(address[0], str) or - not isinstance(address[1], int)): + if (not isinstance(address, tuple) or len(address) < 2 + or not isinstance(address[0], str) + or not isinstance(address[1], int)): raise ValueError self.__class__._proxy = address