Skip to content

Commit

Permalink
avoid yaml warning when starting superdesk (#2409)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek authored Dec 15, 2022
1 parent f1c0e72 commit 4ec2343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superdesk/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def configure_logging(file_path):

try:
with open(file_path, "r") as f:
logging_dict = yaml.load(f)
logging_dict = yaml.load(f, Loader=yaml.SafeLoader)

logging.config.dictConfig(logging_dict)
except Exception:
Expand Down

0 comments on commit 4ec2343

Please sign in to comment.