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 fc55025 commit c30b593Copy full SHA for c30b593
batchspawner/singleuser.py
@@ -40,7 +40,9 @@ def main(argv=None):
40
url = urlparse(os.environ.get("JUPYTERHUB_SERVICE_URL", ""))
41
# Updated URL. We are effectively passing the port arg via env var
42
if url.hostname:
43
- os.environ["JUPYTERHUB_SERVICE_URL"] = f"{url.scheme}://{url.hostname}:{port}{url.path}"
+ os.environ[
44
+ "JUPYTERHUB_SERVICE_URL"
45
+ ] = f"{url.scheme}://{url.hostname}:{port}{url.path}"
46
47
cmd_path = which(sys.argv[1])
48
sys.argv = sys.argv[1:]
0 commit comments