Fix the thing I previously broke

lets pretend I was just testing the CI okay
This commit is contained in:
Lorenz Diener 2017-11-29 17:57:04 +01:00
pare 1c64c39701
commit c5970d10f9

Veure arxiu

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