This commit is contained in:
Mukhtar Akere
2025-02-28 03:10:14 +01:00
parent 65fb2d1e7c
commit f04d7ac86e
7 changed files with 9 additions and 24 deletions

View File

@@ -249,7 +249,6 @@ func (r *RealDebrid) CheckStatus(t *torrent.Torrent, isSymlink bool) (*torrent.T
break
} else if slices.Contains(downloadingStatus, status) {
if !r.DownloadUncached {
go r.DeleteTorrent(t)
return t, fmt.Errorf("torrent: %s not cached", t.Name)
}
// Break out of the loop if the torrent is downloading.