Skip to content

Commit

Permalink
Apply suggestion from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ninsbl authored Jan 16, 2025
1 parent 777e3a0 commit 9572035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imagery/i.eodag/i.eodag.py
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ def skip_existing(output, search_result):
# the scenes remote location
# so here we are checking for the existance of that file.
hashed_file = (
downloaded_dir / md5(scene.remote_location.encode()).hexdigest()
downloaded_dir / md5((scene.product_type+"-"+scene.properties['id']).encode()).hexdigest()
)
if not hashed_file.exists():
continue
Expand Down

0 comments on commit 9572035

Please sign in to comment.