Skip to content

Commit

Permalink
Oops. Don't raise an error if insertable
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaraphael committed Jul 19, 2023
1 parent 4971417 commit 6904014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cerulean_cloud/database_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ async def get_model(self, model_path: str):

async def get_sentinel1_grd(self, sceneid: str, scene_info: dict, titiler_url: str):
"""get sentinel1 record"""
s1_grd = await get(self.session, db.Sentinel1Grd, scene_id=sceneid)
s1_grd = await get(self.session, db.Sentinel1Grd, False, scene_id=sceneid)

if not s1_grd:
shape_s1 = shape(scene_info["footprint"])
Expand Down

0 comments on commit 6904014

Please sign in to comment.