diff options
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index a6ed111..98ac72a 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -1711,7 +1711,7 @@ class Mastodon: | |||
1711 | 1711 | ||
1712 | if content_type != None: | 1712 | if content_type != None: |
1713 | if self.feature_set != "pleroma": | 1713 | if self.feature_set != "pleroma": |
1714 | raise MastodonIllegalArgumentError('quote_id is only available with feature set pleroma') | 1714 | raise MastodonIllegalArgumentError('content_type is only available with feature set pleroma') |
1715 | # It would be better to read this from nodeinfo and cache, but this is easier | 1715 | # It would be better to read this from nodeinfo and cache, but this is easier |
1716 | if not content_type in ["text/plain", "text/html", "text/markdown", "text/bbcode"]: | 1716 | if not content_type in ["text/plain", "text/html", "text/markdown", "text/bbcode"]: |
1717 | raise MastodonIllegalArgumentError('Invalid content type specified') | 1717 | raise MastodonIllegalArgumentError('Invalid content type specified') |