Temporary fix for mergeing dictionary bug

This was not working with admin users
This commit is contained in:
yuvipanda
2018-07-01 11:54:26 -07:00
parent 1bc19ad0a7
commit aab0f8e036

View File

@@ -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)