Revert "Prevent creation of download folders when using the symlink downloader."

This reverts commit 078bbe4bfb.
This commit is contained in:
Roger Far 2024-09-03 19:14:36 -06:00
parent b1f93d1892
commit b66b864cae

View file

@ -1,5 +1,4 @@
using System.Web;
using RdtClient.Data.Enums;
using RdtClient.Data.Models.Data;
namespace RdtClient.Service.Helpers;
@ -42,7 +41,7 @@ public static class DownloadHelper
}
}
if (torrent.DownloadClient != DownloadClient.Symlink && !Directory.Exists(torrentPath))
if (!Directory.Exists(torrentPath))
{
Directory.CreateDirectory(torrentPath);
}
@ -86,7 +85,7 @@ public static class DownloadHelper
}
}
if (torrent.DownloadClient != DownloadClient.Symlink && !Directory.Exists(torrentPath))
if (!Directory.Exists(torrentPath))
{
Directory.CreateDirectory(torrentPath);
}