Update telethon/network/connection/tcpmtproxy.py

Co-authored-by: Lonami <totufals@hotmail.com>
This commit is contained in:
Confused Character 2024-02-16 20:20:37 +03:30 committed by GitHub
parent 7e204a15d4
commit 8a72bc52b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: