Skip to content

Commit

Permalink
Improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
jtherrmann committed Sep 9, 2022
1 parent ab94885 commit 3c077d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/upload-log/src/upload_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def write_log_to_s3(bucket, prefix, content):
def lambda_handler(event, context):
# TODO handle all results, not just the last one
results_dict = event['processing_results']
result = results_dict[f'step_{len(results_dict) - 1}']
result = results_dict[max(results_dict.keys())]

log_content = None

Expand Down

0 comments on commit 3c077d3

Please sign in to comment.