forked from DRMTalks/devine
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:
|
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()
|
||||||
|
|
Loading…
Reference in New Issue