From 2e4ef80691d0ddb21eb1d1d9e8e9871d59eb8b4d Mon Sep 17 00:00:00 2001 From: tcely Date: Wed, 12 Feb 2025 13:25:40 -0500 Subject: [PATCH] fixup: missed the `list()` --- tubesync/sync/choices.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubesync/sync/choices.py b/tubesync/sync/choices.py index f62e8aec..08beaf10 100644 --- a/tubesync/sync/choices.py +++ b/tubesync/sync/choices.py @@ -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) ))