Skip to content

Commit

Permalink
i.sentinel.import: less obscure error message (#710)
Browse files Browse the repository at this point in the history
Better guide the user to the problem when specifying a SAFE file instead of the containing directory.
  • Loading branch information
neteler committed Mar 4, 2022
1 parent 983b0d9 commit 9d32d2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/imagery/i.sentinel/i.sentinel.import/i.sentinel.import.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ def _filter(self, filter_p, force_unzip=False):
if len(safes) < 1:
gs.fatal(
_(
"Nothing found to import. Please check input and pattern_file options."
)
"No Sentinel files found to import in directory <{}>. Please check input and pattern_file options."
).format(self.unzip_dir)
)

for safe in safes:
Expand Down

0 comments on commit 9d32d2b

Please sign in to comment.