refactor(Track): Remove unnecessary bool casting

This commit is contained in:
rlaphoenix 2024-03-01 03:33:52 +00:00
parent 6e9f977642
commit 3358c4d203
1 changed files with 2 additions and 2 deletions

View File

@ -64,9 +64,9 @@ class Track:
self.url = url
self.language = Language.get(language)
self.is_original_lang = bool(is_original_lang)
self.is_original_lang = is_original_lang
self.descriptor = descriptor
self.needs_repack = bool(needs_repack)
self.needs_repack = needs_repack
self.drm = drm
self.edition: str = edition
self.extra: Any = extra or {} # allow anything for extra, but default to a dict