diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-10-01 14:24:27 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2013-10-01 14:24:27 -0400 |
| commit | 3d40c5ba36c5e98954c2bc6073b4cf35cd42711a (patch) | |
| tree | be7328c6d1d2193041c9b3dd00ff40fd0f825599 /MediaBrowser.Controller/IO | |
| parent | 900266eb54e3b13219eb21e6d22fb34ce28059ab (diff) | |
fixed xml providers running over and over
Diffstat (limited to 'MediaBrowser.Controller/IO')
| -rw-r--r-- | MediaBrowser.Controller/IO/FileSystem.cs | 5 |
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)) { |
