diff options
author | Lorenz Diener <[email protected]> | 2017-09-05 16:45:24 +0200 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2017-09-05 16:45:24 +0200 |
commit | c8490be2a717467c61381245e0fa2793a48c57ae (patch) | |
tree | 9ef5a5e8e13c3caa3ac10ffbf744e6b852531bde /mastodon | |
parent | 1c93e350f74626b67bb50503d6ee6fcb9656bc2b (diff) | |
download | mastodon.py-c8490be2a717467c61381245e0fa2793a48c57ae.tar.gz |
Streams are requested via GET (Fixes #50)
Diffstat (limited to 'mastodon')
-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 d5c6225..c835bac 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -857,7 +857,7 @@ class Mastodon: | |||
857 | This method blocks forever, calling callbacks on 'listener' for | 857 | This method blocks forever, calling callbacks on 'listener' for |
858 | incoming events. | 858 | incoming events. |
859 | """ | 859 | """ |
860 | return self.__stream('/api/v1/streaming/hashtag', listener, params={'tag': tag}) | 860 | return self.__stream("/api/v1/streaming/hashtag?tag={}".format(tag), listener) |
861 | 861 | ||
862 | ### | 862 | ### |
863 | # Internal helpers, dragons probably | 863 | # Internal helpers, dragons probably |