diff options
author | Lorenz Diener <[email protected]> | 2017-11-29 17:57:04 +0100 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2017-11-29 17:57:04 +0100 |
commit | c5970d10f904d0377df74bcbe6df28e1c27fddb0 (patch) | |
tree | 6392337c66ff20586e8ccbab8c4f0188c04b9cb5 | |
parent | 1c64c39701ccb3e7bd44989ea6e023c012c8db5f (diff) | |
download | mastodon.py-c5970d10f904d0377df74bcbe6df28e1c27fddb0.tar.gz |
Fix the thing I previously broke
lets pretend I was just testing the CI okay
-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) |