Fix the fixer

This commit is contained in:
Ben Sarmiento
2024-02-05 00:42:28 +01:00
parent 306d415acc
commit 6726b1e54e
3 changed files with 22 additions and 14 deletions

View File

@@ -383,7 +383,7 @@ func (t *TorrentManager) redownloadTorrent(torrent *Torrent, selection string) (
return nil, fmt.Errorf("it did not fix the issue for %s (id=%s), only got %d files but we need %d, undoing", t.GetKey(torrent), info.ID, len(info.Links), selectionCount)
}
// looks like it's fixed even if it's not done yet
t.log.Infof("Redownloading torrent %s successful (progress=%d)", t.GetKey(torrent), info.Progress)
for _, id := range oldTorrentIDs {
t.fixerAddCommand(id, "replaced")
}