From c5970d10f904d0377df74bcbe6df28e1c27fddb0 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Wed, 29 Nov 2017 17:57:04 +0100 Subject: Fix the thing I previously broke lets pretend I was just testing the CI okay --- mastodon/Mastodon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mastodon') 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: 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) -- cgit v1.2.3