Skip to content

Commit

Permalink
Fix bug on pipeline with year as int
Browse files Browse the repository at this point in the history
  • Loading branch information
tgrandje committed Sep 29, 2023
1 parent 5250392 commit 2d71475
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cartiflette/download/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def _download_sources(
("dataset_families", dataset_families),
]
for key, val in items:
if isinstance(val, str):
if isinstance(val, str) or isinstance(val, int):
kwargs[key] = [val]
elif not val:
kwargs[key] = [None]
Expand Down

0 comments on commit 2d71475

Please sign in to comment.