mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-31 10:19:48 +03:00
Update telethon/network/connection/tcpmtproxy.py
Co-authored-by: Lonami <totufals@hotmail.com>
This commit is contained in:
parent
7e204a15d4
commit
8a72bc52b2
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user