mirror of
https://github.com/Jackett/Jackett
synced 2025-01-01 12:46:23 +00:00
Minor settings migration bug fix
This commit is contained in:
parent
7aecb9ac68
commit
c81c6b1e68
1 changed files with 14 additions and 10 deletions
|
@ -66,9 +66,13 @@ namespace Jackett.Services
|
|||
{
|
||||
Directory.CreateDirectory(Path.GetDirectoryName(destFolder));
|
||||
}
|
||||
if (!File.Exists(destFolder))
|
||||
{
|
||||
File.Move(file, destFolder);
|
||||
}
|
||||
}
|
||||
Directory.Delete(oldDir, true);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue