fix: add check for existing info_hash in torrents before processing

This commit is contained in:
g0ldyy
2026-01-09 16:12:59 +01:00
parent bd121701ee
commit 06bbe9bbd8
+2
View File
@@ -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"]