Skip to content

Commit

Permalink
Add Fenix daily platform handling (mozilla#664) - fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
piri-p committed May 2, 2024
1 parent bf7ca93 commit 40a6139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mozdownload/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ def get_latest_build_date(self):
parser = self._create_directory_parser(url)
parser.entries = parser.filter(r'.*%s' % self.platform_regex)
if not parser.entries:
raise errors.NotSupportedError('Selected platform not available')
raise errors.NotSupportedError('No builds have been found')
parser.entries.sort()

date = ''.join(parser.entries[-1].split('-')[:6])
Expand Down

0 comments on commit 40a6139

Please sign in to comment.