diff --git a/chartify/_core/options.py b/chartify/_core/options.py index 89d7222..cb355f9 100644 --- a/chartify/_core/options.py +++ b/chartify/_core/options.py @@ -108,6 +108,7 @@ def _from_yaml(self, filename): Overwrites any options that are specified in the yaml file. """ # Note: We assume that the contents of the config file are trusted + # TODO: Change this file format to be plain yaml so we can use SafeLoader yaml_options = yaml.load(open(filename), Loader=yaml.UnsafeLoader) self._options.update(yaml_options)