From 8a72bc52b2e7ec366bf29e5e49693dd487a3ee78 Mon Sep 17 00:00:00 2001 From: Confused Character <121636230+ConfusedCharacter@users.noreply.github.com> Date: Fri, 16 Feb 2024 20:20:37 +0330 Subject: [PATCH] Update telethon/network/connection/tcpmtproxy.py Co-authored-by: Lonami --- telethon/network/connection/tcpmtproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: