Skip to content

Commit

Permalink
Update titiler/cmr/backend.py
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago authored Feb 14, 2024
1 parent fe12e6d commit de911b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion titiler/cmr/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def get_assets(

band_urls = []
for url in links:
if match := re.search("B[0-9][0-9]", os.path.basename(url)):
if match := re.search(bands_regex, os.path.basename(url)):
band_urls.append((match.group(), url))

urls = dict(band_urls)
Expand Down

0 comments on commit de911b7

Please sign in to comment.