Skip to content

Commit

Permalink
fix: python error
Browse files Browse the repository at this point in the history
  • Loading branch information
cka-y committed Oct 7, 2023
1 parent bf3d6f2 commit ff10648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/batch/datasets/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def retrieve_feed_status(stable_id, bucket_name):
bucket = storage_client.get_bucket(bucket_name)

blob = bucket.get_blob(f"states/{stable_id}.json")
if not blob.exists():
if blob is None:
return None

feed_state_json = blob.download_as_text()
Expand Down

0 comments on commit ff10648

Please sign in to comment.