diff --git a/hub_docker/jupyterhub_config.py b/hub_docker/jupyterhub_config.py index aeaa964..54be41d 100644 --- a/hub_docker/jupyterhub_config.py +++ b/hub_docker/jupyterhub_config.py @@ -105,7 +105,8 @@ { 'name': name, 'value': value, - } for name, value in spawner.get_env().items() + } for name, value in + ([n, v] for [n, v] in spawner.get_env().items() if n != 'PATH') ], 'name': os.environ.get('FARGATE_SPAWNER_CONTAINER_NAME') }],