aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mastodon/Mastodon.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 5aca185..0329c10 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -254,11 +254,12 @@ class Mastodon:
254 return False 254 return False
255 return True 255 return True
256 256
257 def get_supported_version(self): 257 @staticmethod
258 def get_supported_version():
258 """ 259 """
259 Retrieve the maximum version of Mastodon supported by this version of Mastodon.py 260 Retrieve the maximum version of Mastodon supported by this version of Mastodon.py
260 """ 261 """
261 return __SUPPORTED_MASTODON_VERSION 262 return Mastodon.__SUPPORTED_MASTODON_VERSION
262 263
263 def auth_request_url(self, client_id=None, redirect_uris="urn:ietf:wg:oauth:2.0:oob", 264 def auth_request_url(self, client_id=None, redirect_uris="urn:ietf:wg:oauth:2.0:oob",
264 scopes=['read', 'write', 'follow']): 265 scopes=['read', 'write', 'follow']):
Powered by cgit v1.2.3 (git 2.41.0)