We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e55b4a1 commit f3ba3eeCopy full SHA for f3ba3ee
src/streamlink_cli/main.py
@@ -123,7 +123,7 @@ def create_output(plugin):
123
return out
124
125
126
-def create_http_server(host=None, port=0):
+def create_http_server(*_args, **_kwargs):
127
"""Creates a HTTP server listening on a given host and port.
128
129
If host is empty, listen on all available interfaces, and if port is 0,
@@ -132,7 +132,7 @@ def create_http_server(host=None, port=0):
132
133
try:
134
http = HTTPServer()
135
- http.bind(host=host, port=port)
+ http.bind(*_args, **_kwargs)
136
except OSError as err:
137
console.exit("Failed to create HTTP server: {0}", err)
138
0 commit comments