mirror of https://github.com/devine-dl/devine.git
Ensure QualityList returns resolutions in descending order
This commit is contained in:
parent
b301fb4390
commit
eb39c8eba6
|
@ -119,7 +119,7 @@ class QualityList(click.ParamType):
|
|||
)
|
||||
except ValueError:
|
||||
self.fail(f"{resolution!r} is not a valid integer", param, ctx)
|
||||
return resolutions
|
||||
return sorted(resolutions, reverse=True)
|
||||
|
||||
|
||||
SEASON_RANGE = SeasonRange()
|
||||
|
|
Loading…
Reference in New Issue