Skip to content

Commit

Permalink
Fix test for nullable base directories
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyh committed May 20, 2022
1 parent 8705e27 commit cd80d22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eodatasets3/prepare/sentinel_l1_prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,8 @@ def main(
dry_run: bool,
index_to_odc: bool,
):
output_base = normalise_path(output_base)
output_base = normalise_path(output_base) if output_base else None

if sys.argv[1] == "sentinel-l1c":
warnings.warn(
"Command name 'sentinel-l1c-prepare' is deprecated: remove the 'c', and use `sentinel-l1-prepare`"
Expand Down

0 comments on commit cd80d22

Please sign in to comment.