Update server/RdtClient.Service/Services/TorrentRunner.cs
Co-authored-by: qodo-merge-pro[bot] <151058649+qodo-merge-pro[bot]@users.noreply.github.com>
This commit is contained in:
parent
e17c8c5c1a
commit
6ec3b1072b
1 changed files with 4 additions and 0 deletions
|
|
@ -81,6 +81,10 @@ public class TorrentRunner(ILogger<TorrentRunner> logger, Torrents torrents, Dow
|
||||||
}
|
}
|
||||||
|
|
||||||
var settingUnpackLimit = Settings.Get.General.UnpackLimit;
|
var settingUnpackLimit = Settings.Get.General.UnpackLimit;
|
||||||
|
if (settingUnpackLimit < 0)
|
||||||
|
{
|
||||||
|
settingUnpackLimit = 0;
|
||||||
|
}
|
||||||
|
|
||||||
var settingDownloadPath = Settings.Get.DownloadClient.DownloadPath;
|
var settingDownloadPath = Settings.Get.DownloadClient.DownloadPath;
|
||||||
if (String.IsNullOrWhiteSpace(settingDownloadPath))
|
if (String.IsNullOrWhiteSpace(settingDownloadPath))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue