Fix the thing I previously broke

lets pretend I was just testing the CI okay
pull/108/merge
Lorenz Diener 2017-11-29 17:57:04 +01:00
rodzic 1c64c39701
commit c5970d10f9
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -299,7 +299,7 @@ class Mastodon:
Returns a list of toot dicts.
"""
if hashtag.startswith("#"):
throw MastodonIllegalArgumentError("Hashtag parameter should omit leading #")
raise MastodonIllegalArgumentError("Hashtag parameter should omit leading #")
if max_id != None:
max_id = self.__unpack_id(max_id)