Skip to content

Commit

Permalink
Update SDS_download.py
Browse files Browse the repository at this point in the history
silly bug
  • Loading branch information
Kilian Vos committed May 21, 2021
1 parent 885e057 commit 03e6d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coastsat/SDS_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,8 +721,8 @@ def duplicates(lst, item):

# first pass on images that have the exact same timestamp
duplicates = duplicates_dict([_.split('_')[0] for _ in filenames])
total_removed_step1 = 0
if len(duplicates) > 0:
total_removed_step1 = 0
# loop through each pair of duplicates and merge them
for key in duplicates.keys():
idx_dup = duplicates[key]
Expand Down

0 comments on commit 03e6d63

Please sign in to comment.