Add missing self to .set_proxy (fa64a5f)

This commit is contained in:
Lonami Exo 2017-12-28 00:09:29 +01:00
parent bdd63b91a2
commit b1b3610c1f

View File

@ -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():