Streams are requested via GET (Fixes #50)
This commit is contained in:
pare
1c93e350f7
commit
c8490be2a7
S'han modificat 1 arxius amb 1 adicions i 1 eliminacions
|
@ -857,7 +857,7 @@ class Mastodon:
|
||||||
This method blocks forever, calling callbacks on 'listener' for
|
This method blocks forever, calling callbacks on 'listener' for
|
||||||
incoming events.
|
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
|
# Internal helpers, dragons probably
|
||||||
|
|
Loading…
Referencia en una nova incidència