rename duplicates to append ".duplicate"
This commit is contained in:
parent
a75549c699
commit
5b0624654b
@ -168,7 +168,7 @@ public class JobBoss : GlobalBase
|
||||
Log($"Adding Job {job}");
|
||||
if (!AddJob(job, file.FullName)) //If we detect a duplicate, delete the file.
|
||||
{
|
||||
string path = string.Concat(file.FullName, ".failed");
|
||||
string path = string.Concat(file.FullName, ".duplicate");
|
||||
file.MoveTo(path);
|
||||
Log($"Duplicate detected or otherwise not able to add job to list.\nMoved job {job} to {path}");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user