Skip to content
This repository has been archived by the owner on Nov 19, 2022. It is now read-only.

Commit

Permalink
replace yaml.load with yaml.safe_load()
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicarod7 committed Jun 6, 2021
1 parent 0a9a2b7 commit f6533c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xkcd_alt.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def get_config():

else: # Running locally
with open('config.yaml') as config_file:
CONFIG = yaml.load(config_file, Loader=yaml.FullLoader)
CONFIG = yaml.safe_load(config_file)
key = [CONFIG['API Key'],
CONFIG['API Secret Key'],
CONFIG['Access Token'],
Expand Down

0 comments on commit f6533c3

Please sign in to comment.