aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2017-09-05 16:45:24 +0200
committerLorenz Diener <[email protected]>2017-09-05 16:45:24 +0200
commitc8490be2a717467c61381245e0fa2793a48c57ae (patch)
tree9ef5a5e8e13c3caa3ac10ffbf744e6b852531bde
parent1c93e350f74626b67bb50503d6ee6fcb9656bc2b (diff)
downloadmastodon.py-c8490be2a717467c61381245e0fa2793a48c57ae.tar.gz
Streams are requested via GET (Fixes #50)
-rw-r--r--mastodon/Mastodon.py2
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
Powered by cgit v1.2.3 (git 2.41.0)