mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Temporary fix for mergeing dictionary bug
This was not working with admin users
This commit is contained in:
@@ -37,7 +37,8 @@ default = {
|
|||||||
def apply_yaml_config(path, c):
|
def apply_yaml_config(path, c):
|
||||||
if os.path.exists(path):
|
if os.path.exists(path):
|
||||||
with open(path) as f:
|
with open(path) as f:
|
||||||
tljh_config = _merge_dictionaries(default, yaml.safe_load(f))
|
# FIXME: Figure out correct order of merging here
|
||||||
|
tljh_config = _merge_dictionaries(yaml.safe_load(f), default)
|
||||||
else:
|
else:
|
||||||
tljh_config = copy.deepcopy(default)
|
tljh_config = copy.deepcopy(default)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user