diff --git a/orator/commands/command.py b/orator/commands/command.py index 2a114400..0b23f4fa 100644 --- a/orator/commands/command.py +++ b/orator/commands/command.py @@ -118,7 +118,7 @@ def _get_config(self, path=None): filename, ext = os.path.splitext(path) if ext in [".yml", ".yaml"]: with open(path) as fd: - config = yaml.load(fd) + config = yaml.safe_load(fd) elif ext in [".py"]: config = {}