From 04f3c04e9638b83f2ef45631200260e85ae2b1ab Mon Sep 17 00:00:00 2001 From: halcy Date: Sun, 23 Apr 2023 20:44:28 +0300 Subject: [PATCH] typo fix --- mastodon/streaming_endpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/streaming_endpoints.py b/mastodon/streaming_endpoints.py index 4944fda..5f09ec3 100644 --- a/mastodon/streaming_endpoints.py +++ b/mastodon/streaming_endpoints.py @@ -35,7 +35,7 @@ class Mastodon(Internals): if local: raise MastodonIllegalArgumentError("Cannot pass both local and remote - use either one or the other.") base += '/remote' - return self.__stream(base listener, run_async=run_async, timeout=timeout, reconnect_async=reconnect_async, reconnect_async_wait_sec=reconnect_async_wait_sec) + return self.__stream(base, listener, run_async=run_async, timeout=timeout, reconnect_async=reconnect_async, reconnect_async_wait_sec=reconnect_async_wait_sec) @api_version("1.1.0", "1.4.2", _DICT_VERSION_STATUS) def stream_local(self, listener, run_async=False, timeout=_DEFAULT_STREAM_TIMEOUT, reconnect_async=False, reconnect_async_wait_sec=_DEFAULT_STREAM_RECONNECT_WAIT_SEC):