Skip to content

Commit

Permalink
fix: torbox ignore empty data
Browse files Browse the repository at this point in the history
  • Loading branch information
g0ldyy committed Jul 11, 2024
1 parent dfaf12b commit f971255
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions comet/debrid/torbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ async def get_files(
if not result["success"]:
continue

if result["data"] is None:
continue

if type == "series":
for hash in result["data"]:
hash_files = result["data"][hash]["files"]
Expand Down

0 comments on commit f971255

Please sign in to comment.