From 71738ee3a65115694a219b4e55e645df2ccef138 Mon Sep 17 00:00:00 2001 From: Goldy <153996346+g0ldyy@users.noreply.github.com> Date: Wed, 17 Jul 2024 00:37:36 +0200 Subject: [PATCH] fix: prowlarr infoHash --- comet/utils/general.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comet/utils/general.py b/comet/utils/general.py index ad4b6f3..7b2e7a8 100644 --- a/comet/utils/general.py +++ b/comet/utils/general.py @@ -247,7 +247,7 @@ async def get_indexer_manager( response = await response.json() for result in response: - result["InfoHash"] = result["infoHash"] + result["InfoHash"] = result["infoHash"] if "infoHash" in result else None result["Title"] = result["title"] result["Link"] = result["downloadUrl"] result["Tracker"] = result["indexer"]