mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
Fixed removing partials before trying to copy files.
This commit is contained in:
@@ -316,6 +316,12 @@ namespace NzbDrone.Common.Disk
|
||||
|
||||
var tempTargetPath = targetPath + ".partial~";
|
||||
|
||||
if (_diskProvider.FileExists(tempTargetPath))
|
||||
{
|
||||
_logger.Trace("Removing old partial.");
|
||||
_diskProvider.DeleteFile(tempTargetPath);
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
for (var i = 0; i <= RetryCount; i++)
|
||||
|
||||
Reference in New Issue
Block a user