diff --git a/config/__init__.py b/config/__init__.py index 1c0f0bc..e7e2577 100644 --- a/config/__init__.py +++ b/config/__init__.py @@ -16,7 +16,7 @@ class WrappedSettings: def __init__(self): self.settings_dir = os.path.join(os.path.dirname(__file__), 'config.yml') settings = open(self.settings_dir) - self.settings = yaml.load(settings) + self.settings = yaml.safe_load(settings) def __getattr__(self, name): value = self.settings[name]