Adjust file reads and writes
This commit is contained in:
@@ -166,7 +166,6 @@ func (rd *RealDebrid) GetTorrents(onlyOne bool) ([]Torrent, int, error) {
|
||||
totalCount := result.totalCount
|
||||
|
||||
if onlyOne {
|
||||
rd.log.Debugf("Returning early the %d torrents", len(allTorrents))
|
||||
return allTorrents, totalCount, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user