From 2a3bfc43c30ec664941d9095e0d97bde4e90ee40 Mon Sep 17 00:00:00 2001 From: slanglade <1507663+slanglade@users.noreply.github.com> Date: Mon, 10 Jun 2024 19:17:19 +0200 Subject: [PATCH] FIxed truth test (ruff) --- streamrip/client/deezer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streamrip/client/deezer.py b/streamrip/client/deezer.py index 36ef2c4..60ac323 100644 --- a/streamrip/client/deezer.py +++ b/streamrip/client/deezer.py @@ -71,7 +71,7 @@ async def get_track(self, item_id: str) -> dict: raise NonStreamableError(e) # If not readable (wrong zone, track id not available anymore etc.) - if item["readable"] == False: + if not item["readable"]: try: if ("alternative" in item): logger.warning(f"Original track id {item_id} not readable, using alternative {item['d']}")