Fix YAML loader warning.
Closes Thanks to for pointing out the problem.
@@ -58,7 +58,7 @@ def read_gemini_config(dirs=None, allow_missing=False, use_globals=True, args=No
raise
if fname:
with open(fname) as in_handle:
- config = yaml.load(in_handle)
+ config = yaml.safe_load(in_handle)
if args and hasattr(args, "annotation_dir") and args.annotation_dir:
# If --annotation-dir is given via commandline interface, we will overwrite the
# location from the config file
