Skip to content

Commit

Permalink
config.py: fix yaml.load() invocation in recent version
Browse files Browse the repository at this point in the history
  • Loading branch information
cedeyn committed Jul 24, 2024
1 parent ae3eced commit 0be31f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MilkCheck/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0be31f0

Please sign in to comment.