mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-05 00:35:10 +00:00
Use socks socket to allow enabling a proxy
This commit is contained in:
@@ -19,10 +19,12 @@
|
||||
import logging
|
||||
import socket
|
||||
|
||||
import socks
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class TCP(socket.socket):
|
||||
class TCP(socks.socksocket):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
|
||||
|
Reference in New Issue
Block a user