Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit bb9bfc7

Browse files
authored
Replace yaml load to safe_load
1 parent e5cebd0 commit bb9bfc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/oidcmsg/logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def configure_logging(debug: Optional[bool] = False,
3838
config_source = 'dictionary'
3939
elif filename is not None and os.path.exists(filename):
4040
with open(filename, "rt") as file:
41-
config_dict = yaml.load(file)
41+
config_dict = yaml.safe_load(file)
4242
config_source = 'file'
4343
else:
4444
config_dict = LOGGING_DEFAULT

0 commit comments

Comments
 (0)