Skip to content

Commit

Permalink
Cleaner true expression
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaraphael committed Nov 22, 2024
1 parent 591a6d2 commit 6b637bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cerulean_cloud/database_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ async def deactivate_stale_slicks_from_scene_id(self, scene_id):
.where(
and_(
db.Sentinel1Grd.scene_id == scene_id,
db.Slick.active.is_(True),
db.Slick.active,
)
)
)
Expand Down Expand Up @@ -367,7 +367,7 @@ async def get_previous_asa(self, slick_id):
.where(
and_(
db.SlickToSource.slick == slick_id,
db.SlickToSource.active.is_(True),
db.SlickToSource.active,
)
)
)
Expand Down

0 comments on commit 6b637bb

Please sign in to comment.