This repository has been archived by the owner on Dec 17, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: (semgrep) use yaml::safe_load instead of yaml::load
- Loading branch information
71b32b4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should it be
server_config = yaml.safe_load(yamlfile)
?I got "TypeError: safe_load() got an unexpected keyword argument 'Loader'" for
server_config = yaml.load(yamlfile, Loader=yaml.FullLoader)