Skip to content

Commit

Permalink
Use yaml.safe_load to load config
Browse files Browse the repository at this point in the history
  • Loading branch information
zwolf committed Jan 31, 2024
1 parent 7c1ecb1 commit 3dcb599
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 3dcb599

Please sign in to comment.