From b66b864caeaaea6f6c50d8b70bd295e89d690040 Mon Sep 17 00:00:00 2001 From: Roger Far Date: Tue, 3 Sep 2024 19:14:36 -0600 Subject: [PATCH] Revert "Prevent creation of download folders when using the symlink downloader." This reverts commit 078bbe4bfba532c7a49b55ba27fffef81140f630. --- server/RdtClient.Service/Helpers/DownloadHelper.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/server/RdtClient.Service/Helpers/DownloadHelper.cs b/server/RdtClient.Service/Helpers/DownloadHelper.cs index 94d1583..0c9a1c4 100644 --- a/server/RdtClient.Service/Helpers/DownloadHelper.cs +++ b/server/RdtClient.Service/Helpers/DownloadHelper.cs @@ -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); }