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
9743d1eefd
commit
524ef32d37
|
@ -139,7 +139,7 @@ class TcpMTProxy(ObfuscatedConnection):
|
|||
|
||||
try:
|
||||
secret_bytes = bytes.fromhex(secret)
|
||||
except:
|
||||
except ValueError:
|
||||
try:
|
||||
secret_bytes = base64.b64decode(secret.encode())
|
||||
except binascii.Error:
|
||||
|
|
Loading…
Reference in New Issue
Block a user