Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
halcy authored and halcy committed Apr 23, 2023
1 parent 1bc7e83 commit 04f3c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mastodon/streaming_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def stream_public(self, listener, run_async=False, timeout=_DEFAULT_STREAM_TIMEO
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):
Expand Down

0 comments on commit 04f3c04

Please sign in to comment.