mirror of
https://github.com/devine-dl/devine.git
synced 2025-04-29 17:49:44 +00:00
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…
x
Reference in New Issue
Block a user