Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
morsecodist committed Jul 5, 2024
1 parent 903fe01 commit a204fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/idseq_utils/idseq_utils/batch_run_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def _key(self, batch_args: Dict) -> str:
def get(self, batch_args: Dict) -> Optional[str]:
try:
resp = _s3_client.get_object(Bucket=self.bucket, Key=self._key(batch_args))
resp["Body"].read().decode()
return resp["Body"].read().decode()
except ClientError as e:
if e.response["Error"]["Code"] == "NoSuchKey":
return None
Expand Down

0 comments on commit a204fda

Please sign in to comment.