Skip to content

Commit

Permalink
Fix arrivals test for empty indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyh committed Dec 3, 2020
1 parent 502be40 commit c531e32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cubedash/summary/_stores.py
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ def get_arrivals(
"select max(added) from agdc.dataset;"
).scalar()
if latest_arrival_date is None:
return
return []

datasets_since_date = (latest_arrival_date - period_length).date()

Expand Down

0 comments on commit c531e32

Please sign in to comment.