aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/IO/FileSystem.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-26 21:24:07 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-05-26 21:24:07 -0400
commit826c749774e85dc2c4ecc91f29bc29e7f13755fd (patch)
tree6f67c114e6ac8aa2a1399d4e9937580d59422bb7 /MediaBrowser.Controller/IO/FileSystem.cs
parent82ce0e17e95967109832843cbfb570a772719401 (diff)
fixed issue preventing drive contents from being read
Diffstat (limited to 'MediaBrowser.Controller/IO/FileSystem.cs')
-rw-r--r--MediaBrowser.Controller/IO/FileSystem.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/IO/FileSystem.cs b/MediaBrowser.Controller/IO/FileSystem.cs
index e5f80533a..04eefd4a1 100644
--- a/MediaBrowser.Controller/IO/FileSystem.cs
+++ b/MediaBrowser.Controller/IO/FileSystem.cs
@@ -34,7 +34,7 @@ namespace MediaBrowser.Controller.IO
{
var fileInfo = new DirectoryInfo(path);
- if (fileInfo.Exists)
+ if (fileInfo.Exists || path.EndsWith(":\\", StringComparison.OrdinalIgnoreCase))
{
return fileInfo;
}