aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/IO
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-11-12 15:51:39 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-11-12 15:51:39 -0500
commitc6ce8342163a5665f29122aef02ce8068b349f16 (patch)
tree8c781650c45a6d44236728fb1f73dd6e60a7fea3 /MediaBrowser.Controller/IO
parentbbd672bf95205ed441c1c0839bb2b0a751cc3d1b (diff)
update use of FileAttributes
Diffstat (limited to 'MediaBrowser.Controller/IO')
-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;