Update telethon/network/connection/tcpmtproxy.py

Co-authored-by: Lonami <totufals@hotmail.com>
This commit is contained in:
Confused Character 2024-02-16 20:25:57 +03:30 committed by GitHub
parent 0085193ab1
commit 4fd7962414
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -132,7 +132,7 @@ class TcpMTProxy(ObfuscatedConnection):
return proxy_info[:2]
@staticmethod
def normilize_secret(secret):
def normalize_secret(secret):
if secret[:2] in ("ee", "dd"): # Remove extra bytes
secret = secret[2:]