mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-03 13:14:31 +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()
|
self.disconnect()
|
||||||
return self.connect()
|
return self.connect()
|
||||||
|
|
||||||
def set_proxy(proxy):
|
def set_proxy(self, proxy):
|
||||||
"""Change the proxy used by the connections.
|
"""Change the proxy used by the connections.
|
||||||
"""
|
"""
|
||||||
if self.is_connected():
|
if self.is_connected():
|
||||||
|
|
Loading…
Reference in New Issue
Block a user