fixed xml providers running over and over

This commit is contained in:
Luke Pulverenti
2013-10-01 14:24:27 -04:00
parent 900266eb54
commit 3d40c5ba36
42 changed files with 323 additions and 395 deletions

View File

@@ -205,10 +205,7 @@ namespace MediaBrowser.Controller.IO
}
// Check if the target directory exists, if not, create it.
if (!Directory.Exists(target))
{
Directory.CreateDirectory(target);
}
Directory.CreateDirectory(target);
foreach (var file in Directory.EnumerateFiles(source))
{