fixup: missed the list()

This commit is contained in:
tcely authored and GitHub committed 2025-02-12 13:25:40 -05:00
1 parent 7bb29165e2
commit 2e4ef80691
1 file changed
+1 -1
+1 -1
View File
@@ -84,7 +84,7 @@ class SourceResolution(models.TextChoices):
@classmethod @classmethod
def _integer_mapping(cls): def _integer_mapping(cls):
int_height = lambda s: int(s[:-1], base=10) 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) )) return dict(zip( video, map(int_height, video) ))