Skip to content

Commit

Permalink
#110 add Loader
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidRitzwoller committed Jan 30, 2020
1 parent c5df9e0 commit b02e51d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def configuration(ARGUMENTS, paper = False, config_user_yaml = 'config_user.yaml
# Loads config yaml files
CONFIG = {'user': config_user_yaml, 'global': config_global_yaml}
for key, val in CONFIG.items():
CONFIG[key] = yaml.load(open(val, 'rU'))
CONFIG[key] = yaml.load(open(val, 'rU'), Loader = yaml.FullLoader)
if not CONFIG[key]:
del CONFIG[key]

Expand Down

0 comments on commit b02e51d

Please sign in to comment.