From 3ff848b0190212bc0470f0e182e602b076ecdd80 Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Sat, 14 Nov 2020 01:52:28 +0100 Subject: [PATCH] Fix for QBittorrent directory for specific torrents fixes #4091 --- src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrent.cs b/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrent.cs index b7a757e07..5a71892f6 100644 --- a/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrent.cs +++ b/src/NzbDrone.Core/Download/Clients/QBittorrent/QBittorrent.cs @@ -253,7 +253,7 @@ namespace NzbDrone.Core.Download.Clients.QBittorrent relativePath = relativePath.Directory; } - outputPath = savePath + relativePath; + outputPath = savePath + relativePath.FileName; } result.OutputPath = _remotePathMappingService.RemapRemoteToLocal(Settings.Host, outputPath);