Skip to content

Commit

Permalink
use yaml.safe_load
Browse files Browse the repository at this point in the history
  • Loading branch information
aperrin66 committed Apr 3, 2024
1 parent e30a1f0 commit a5ad504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pythesint/pythesint.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def _process_config():
# http://stackoverflow.com/questions/4821104/python-dynamic-instantiation-from-string-name-of-a-class-in-dynamically-imported

# load config file
config = yaml.load(resource_string(__name__, 'pythesintrc.yaml'), Loader=yaml.FullLoader)
config = yaml.safe_load(resource_string(__name__, 'pythesintrc.yaml'))
current_module = __import__(__name__)

# add get_ and update_ functions
Expand Down

0 comments on commit a5ad504

Please sign in to comment.