diff --git a/src/webui/www/private/scripts/download.js b/src/webui/www/private/scripts/download.js index 54ee38e70..9918e6c18 100644 --- a/src/webui/www/private/scripts/download.js +++ b/src/webui/www/private/scripts/download.js @@ -125,7 +125,7 @@ window.qBittorrent.Download = (function() { const category = categories[categoryName]; let savePath = defaultSavePath; if (category !== undefined) - savePath = (category['savePath'] !== "") ? category['savePath'] : (defaultSavePath + categoryName); + savePath = (category['savePath'] !== "") ? category['savePath'] : `${defaultSavePath}/${categoryName}`; $('savepath').value = savePath; } }