Skip to content

Commit 5bf2ab2

Browse files
author
root
committed
Fixed import error
1 parent f381589 commit 5bf2ab2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jupyterhub/jupyterhub_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import os
2+
13
## Generic
24
c.JupyterHub.admin_access = True
35
c.Spawner.default_url = '/lab'
@@ -20,8 +22,6 @@
2022

2123

2224
## Docker spawner
23-
import os
24-
2525
c.JupyterHub.spawner_class = 'dockerspawner.DockerSpawner'
2626
c.DockerSpawner.image = os.environ['DOCKER_JUPYTER_CONTAINER']
2727
c.DockerSpawner.network_name = os.environ['DOCKER_NETWORK_NAME']

0 commit comments

Comments
 (0)