mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-24 08:14:14 +03:00
Add missing self to .set_proxy (fa64a5f
)
This commit is contained in:
parent
bdd63b91a2
commit
b1b3610c1f
|
@ -299,7 +299,7 @@ class TelegramBareClient:
|
|||
self.disconnect()
|
||||
return self.connect()
|
||||
|
||||
def set_proxy(proxy):
|
||||
def set_proxy(self, proxy):
|
||||
"""Change the proxy used by the connections.
|
||||
"""
|
||||
if self.is_connected():
|
||||
|
|
Loading…
Reference in New Issue
Block a user