Revert "Prevent creation of download folders when using the symlink downloader."
This reverts commit 078bbe4bfb.
This commit is contained in:
parent
b1f93d1892
commit
b66b864cae
1 changed files with 2 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue