Fixed all ruff issues

This commit is contained in:
2025-12-07 05:59:53 +01:00
parent a21121d025
commit 0c48640412
13 changed files with 29 additions and 30 deletions
+1 -1
View File
@@ -282,7 +282,7 @@ class QBittorrentClient:
}
try:
response = self._make_request("POST", "/api/v2/torrents/delete", data=data)
self._make_request("POST", "/api/v2/torrents/delete", data=data)
logger.info(f"Deleted torrent {torrent_hash}")
return True
-1
View File
@@ -194,7 +194,6 @@ class TMDBClient:
if "id" not in top_result or "media_type" not in top_result:
raise TMDBAPIError("Invalid TMDB response structure")
tmdb_id = top_result["id"]
media_type = top_result["media_type"]
# Skip if not movie or TV show