aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/IO
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-10-01 14:24:27 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-10-01 14:24:27 -0400
commit3d40c5ba36c5e98954c2bc6073b4cf35cd42711a (patch)
treebe7328c6d1d2193041c9b3dd00ff40fd0f825599 /MediaBrowser.Controller/IO
parent900266eb54e3b13219eb21e6d22fb34ce28059ab (diff)
fixed xml providers running over and over
Diffstat (limited to 'MediaBrowser.Controller/IO')
-rw-r--r--MediaBrowser.Controller/IO/FileSystem.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/MediaBrowser.Controller/IO/FileSystem.cs b/MediaBrowser.Controller/IO/FileSystem.cs
index 3d425f13f..30fdb8d39 100644
--- a/MediaBrowser.Controller/IO/FileSystem.cs
+++ b/MediaBrowser.Controller/IO/FileSystem.cs
@@ -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))
{