Adjust file reads and writes

This commit is contained in:
Ben Sarmiento
2024-05-20 22:57:20 +02:00
parent a3a24124a8
commit d5dd9426ed
5 changed files with 22 additions and 34 deletions

View File

@@ -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
}