Ensure QualityList returns resolutions in descending order

This commit is contained in:
rlaphoenix 2023-03-28 20:46:13 +01:00
parent b301fb4390
commit eb39c8eba6
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class QualityList(click.ParamType):
) )
except ValueError: except ValueError:
self.fail(f"{resolution!r} is not a valid integer", param, ctx) self.fail(f"{resolution!r} is not a valid integer", param, ctx)
return resolutions return sorted(resolutions, reverse=True)
SEASON_RANGE = SeasonRange() SEASON_RANGE = SeasonRange()