mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 05:26:37 +00:00
fixup: missed the list()
This commit is contained in:
parent
7bb29165e2
commit
2e4ef80691
@ -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) ))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user