Fix get_supported_version()
This commit is contained in:
pare
216a4447b4
commit
838b851331
S'han modificat 1 arxius amb 3 adicions i 2 eliminacions
|
@ -254,11 +254,12 @@ class Mastodon:
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def get_supported_version(self):
|
@staticmethod
|
||||||
|
def get_supported_version():
|
||||||
"""
|
"""
|
||||||
Retrieve the maximum version of Mastodon supported by this version of Mastodon.py
|
Retrieve the maximum version of Mastodon supported by this version of Mastodon.py
|
||||||
"""
|
"""
|
||||||
return __SUPPORTED_MASTODON_VERSION
|
return Mastodon.__SUPPORTED_MASTODON_VERSION
|
||||||
|
|
||||||
def auth_request_url(self, client_id=None, redirect_uris="urn:ietf:wg:oauth:2.0:oob",
|
def auth_request_url(self, client_id=None, redirect_uris="urn:ietf:wg:oauth:2.0:oob",
|
||||||
scopes=['read', 'write', 'follow']):
|
scopes=['read', 'write', 'follow']):
|
||||||
|
|
Loading…
Referencia en una nova incidència