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 374130a commit 474325fCopy full SHA for 474325f
src/streamlink_cli/main.py
@@ -122,7 +122,7 @@ def create_output(plugin):
122
return out
123
124
125
-def create_http_server(host=None, port=0):
+def create_http_server(*_args, **_kwargs):
126
"""Creates a HTTP server listening on a given host and port.
127
128
If host is empty, listen on all available interfaces, and if port is 0,
@@ -131,7 +131,7 @@ def create_http_server(host=None, port=0):
131
132
try:
133
http = HTTPServer()
134
- http.bind(host=host, port=port)
+ http.bind(*_args, **_kwargs)
135
except OSError as err:
136
console.exit("Failed to create HTTP server: {0}", err)
137
0 commit comments