[DATFromDir] Clear temp directory in other location too

This commit is contained in:
Matt Nadareski
2016-09-22 14:33:01 -07:00
parent 4cdd6bd003
commit 5074f820c9

View File

@@ -303,7 +303,7 @@ namespace SabreTools
// Cue to delete the file if it's a copy
if (_copyFiles && item != newItem)
{
FileTools.DeleteFile(newItem);
FileTools.CleanDirectory(Path.GetDirectoryName(Path.GetFullPath(newItem)));
}
// Delete the sub temp directory