Hotfixes
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ func (a *Arr) Refresh() error {
|
||||
}
|
||||
}
|
||||
|
||||
return fmt.Errorf("failed to refresh: %v(status: %s)", err, resp.Status)
|
||||
return fmt.Errorf("failed to refresh: %v", err)
|
||||
}
|
||||
|
||||
func (a *Arr) Blacklist(infoHash string) error {
|
||||
|
||||
+1
-1
@@ -141,10 +141,10 @@ func (ts *TorrentStorage) Delete(hash, category string) {
|
||||
}
|
||||
}
|
||||
}
|
||||
delete(ts.torrents, key)
|
||||
if torrent == nil {
|
||||
return
|
||||
}
|
||||
delete(ts.torrents, key)
|
||||
// Delete the torrent folder
|
||||
if torrent.ContentPath != "" {
|
||||
err := os.RemoveAll(torrent.ContentPath)
|
||||
|
||||
Reference in New Issue
Block a user