aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/IO/FileData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Controller/IO/FileData.cs')
-rw-r--r--MediaBrowser.Controller/IO/FileData.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/IO/FileData.cs b/MediaBrowser.Controller/IO/FileData.cs
index 20dfc425e..e2bdb28e3 100644
--- a/MediaBrowser.Controller/IO/FileData.cs
+++ b/MediaBrowser.Controller/IO/FileData.cs
@@ -54,7 +54,7 @@ namespace MediaBrowser.Controller.IO
foreach (var entry in entries)
{
- var isDirectory = (entry.Attributes & FileAttributes.Directory) == FileAttributes.Directory;
+ var isDirectory = entry.IsDirectory;
var fullName = entry.FullName;