diff --git a/lib/MilkCheck/config.py b/lib/MilkCheck/config.py index c7cd1f0..a99b3db 100644 --- a/lib/MilkCheck/config.py +++ b/lib/MilkCheck/config.py @@ -72,7 +72,7 @@ def __init__(self, options): # Read config files if os.access(self.CONFIG_PATH, os.F_OK): - data = yaml.load(open(self.CONFIG_PATH)) + data = yaml.load(open(self.CONFIG_PATH), yaml.FullLoader) # Parse read content self._check_data(data) else: