Repair adjustments 2
This commit is contained in:
@@ -192,7 +192,9 @@ func (rd *RealDebrid) GetTorrents(onlyOne bool) ([]Torrent, int, error) {
|
||||
allTorrents = append(allTorrents, res.torrents...)
|
||||
}
|
||||
|
||||
if len(allTorrents) >= totalCount {
|
||||
rd.log.Debugf("Got %d/%d torrents", len(allTorrents), totalCount)
|
||||
|
||||
if len(allTorrents) >= totalCount || page >= maxPages {
|
||||
break
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user