aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/Mastodon.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index d3b8f93..fc5c178 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -73,7 +73,7 @@ def api_version(created_ver, last_changed_ver, return_value_ver):
73 print(self.mastodon_minor) 73 print(self.mastodon_minor)
74 raise MastodonVersionError("Version check failed (Need version " + version + ")") 74 raise MastodonVersionError("Version check failed (Need version " + version + ")")
75 elif major == self.mastodon_major and minor == self.mastodon_minor and patch > self.mastodon_patch: 75 elif major == self.mastodon_major and minor == self.mastodon_minor and patch > self.mastodon_patch:
76 raise MastodonVersionError("Version check failed (Need version " + version + ")") 76 raise MastodonVersionError("Version check failed (Need version " + version + ", patch is " + str(self.mastodon_patch) + ")")
77 return function(self, *args, **kwargs) 77 return function(self, *args, **kwargs)
78 function.__doc__ = function.__doc__ + "\n\n *Added: Mastodon v" + created_ver + ", last changed: Mastodon v" + last_changed_ver + "*" 78 function.__doc__ = function.__doc__ + "\n\n *Added: Mastodon v" + created_ver + ", last changed: Mastodon v" + last_changed_ver + "*"
79 return decorate(function, wrapper) 79 return decorate(function, wrapper)
Powered by cgit v1.2.3 (git 2.41.0)