From 06bbe9bbd84cd4f632f3115500a4219864414b54 Mon Sep 17 00:00:00 2001 From: g0ldyy <153996346+g0ldyy@users.noreply.github.com> Date: Fri, 9 Jan 2026 16:12:59 +0100 Subject: [PATCH] fix: add check for existing info_hash in torrents before processing --- comet/services/debrid.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/comet/services/debrid.py b/comet/services/debrid.py index b460228..bac8ad8 100644 --- a/comet/services/debrid.py +++ b/comet/services/debrid.py @@ -54,6 +54,8 @@ class DebridService: continue info_hash = file["info_hash"] + if info_hash not in torrents: + continue torrents[info_hash]["cached"] = True debrid_parsed = file["parsed"]