From 3358c4d2038202e2f7ad48b8c616c2dbb2359ebe Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Fri, 1 Mar 2024 03:33:52 +0000 Subject: [PATCH] refactor(Track): Remove unnecessary bool casting --- devine/core/tracks/track.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devine/core/tracks/track.py b/devine/core/tracks/track.py index b3f618e..7bb8ed4 100644 --- a/devine/core/tracks/track.py +++ b/devine/core/tracks/track.py @@ -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