Skip to content

Commit

Permalink
Merge pull request #2 from zooniverse/yaml-safe-load
Browse files Browse the repository at this point in the history
Use yaml.safe_load to load config
  • Loading branch information
zwolf authored Jan 31, 2024
2 parents 7c1ecb1 + 3dcb599 commit 49addcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
BATCH_SIZE = 50

with open('/run/secrets/config.yml', 'r') as f:
CONFIG = yaml.load(f)
CONFIG = yaml.safe_load(f)

session = boto3.Session(profile_name='default')
s3 = session.resource('s3')
Expand Down

0 comments on commit 49addcf

Please sign in to comment.