aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2021-01-31 23:11:57 +0100
committerneodarz <neodarz@neodarz.net>2021-01-31 23:11:57 +0100
commiteb786180dc3c51034a46ad0ccd28aabeb656c96f (patch)
tree1e36dc937cb8115b30a310a9837a5fa51a7d8bfc
parentd81e40dd7df8ef7e45942d60dd84f740fcdfa9c9 (diff)
downloadpyfunkwhale-master.tar.xz
pyfunkwhale-master.zip
Read the token from save file when loading the clientHEADmaster
-rw-r--r--pyfunkwhale/client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pyfunkwhale/client.py b/pyfunkwhale/client.py
index 347bcbb..eacbe2f 100644
--- a/pyfunkwhale/client.py
+++ b/pyfunkwhale/client.py
@@ -85,6 +85,7 @@ class Client(object):
self.authorization_url, self.state = self.oauth_client. \
authorization_url(
self.authorization_endpoint)
+ self._connect()
def _connect(self):
"""