Remove extra downloads directory

This commit is contained in:
Ben Adrian Sarmiento
2024-07-21 02:37:32 +02:00
parent f8b9f8955b
commit 8d06ce88d3
4 changed files with 3 additions and 4 deletions

View File

@@ -592,7 +592,7 @@ func (t *TorrentManager) canCapacityHandle() bool {
func (t *TorrentManager) markAsUnplayable(torrent *Torrent) {
accessKey := t.GetKey(torrent)
for _, directory := range t.Config.GetDirectories() {
if directory == config.DOWNLOADS || directory == config.DUMPED_TORRENTS {
if directory == config.DUMPED_TORRENTS {
return
}
torrents, _ := t.DirectoryMap.Get(directory)