Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Sep 25, 2024
1 parent add5222 commit 28512b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion satip/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,8 @@ def filter_dataset_ids_on_current_files(datasets: list, save_dir: str) -> list:
finished_files = finished_files_not_latest + finished_files_latest
log.debug(f"Found {len(finished_files)} already downloaded")

datetimes = [pd.Timestamp(eumetsat_filename_to_datetime(idx), tz='UTC').round("5 min") for idx in ids]
datetimes = [pd.Timestamp(eumetsat_filename_to_datetime(idx), tz='UTC').round("5 min")
for idx in ids]
if not datetimes: # Empty list
log.debug("No datetimes to download")
return []
Expand Down

0 comments on commit 28512b8

Please sign in to comment.