diff options
-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 000eb55..9df51ea 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -299,7 +299,7 @@ class Mastodon: | |||
299 | Returns a list of toot dicts. | 299 | Returns a list of toot dicts. |
300 | """ | 300 | """ |
301 | if hashtag.startswith("#"): | 301 | if hashtag.startswith("#"): |
302 | throw MastodonIllegalArgumentError("Hashtag parameter should omit leading #") | 302 | raise MastodonIllegalArgumentError("Hashtag parameter should omit leading #") |
303 | 303 | ||
304 | if max_id != None: | 304 | if max_id != None: |
305 | max_id = self.__unpack_id(max_id) | 305 | max_id = self.__unpack_id(max_id) |