Skip to content

Commit

Permalink
fix: create a single item array of an images bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed Feb 1, 2023
1 parent caa8426 commit ff1e06e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion row_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def main():
)

elif extension in [".jpg", ".jpeg", ".tif", ".tiff", ".png"]:
images = list(bucket.blob(object_name).download_as_bytes())
images = list([bucket.blob(object_name).download_as_bytes()])
else:
logging.info('Not a valid document or image: "%s"', object_name)

Expand Down

0 comments on commit ff1e06e

Please sign in to comment.