From c8490be2a717467c61381245e0fa2793a48c57ae Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Tue, 5 Sep 2017 16:45:24 +0200 Subject: Streams are requested via GET (Fixes #50) --- mastodon/Mastodon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index d5c6225..c835bac 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -857,7 +857,7 @@ class Mastodon: This method blocks forever, calling callbacks on 'listener' for incoming events. """ - return self.__stream('/api/v1/streaming/hashtag', listener, params={'tag': tag}) + return self.__stream("/api/v1/streaming/hashtag?tag={}".format(tag), listener) ### # Internal helpers, dragons probably -- cgit v1.2.3