diff --git a/telethon/network/connection/tcpmtproxy.py b/telethon/network/connection/tcpmtproxy.py index 316829c1..26f58184 100644 --- a/telethon/network/connection/tcpmtproxy.py +++ b/telethon/network/connection/tcpmtproxy.py @@ -134,7 +134,7 @@ class TcpMTProxy(ObfuscatedConnection): @staticmethod def normilize_secret(secret): - if secret[:2] in ["ee","dd"]: # Remove extra bytes + if secret[:2] in ("ee", "dd"): # Remove extra bytes secret = secret[2:] try: