fixup: missed the list()

This commit is contained in:
tcely 2025-02-12 13:25:40 -05:00 committed by GitHub
parent 7bb29165e2
commit 2e4ef80691
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,7 +84,7 @@ class SourceResolution(models.TextChoices):
@classmethod
def _integer_mapping(cls):
int_height = lambda s: int(s[:-1], base=10)
video = filter(lambda s: s.endswith('0p'), cls.values)
video = list(filter(lambda s: s.endswith('0p'), cls.values))
return dict(zip( video, map(int_height, video) ))