diff options
| author | Luke <luke.pulverenti@gmail.com> | 2015-11-12 15:54:31 -0500 |
|---|---|---|
| committer | Luke <luke.pulverenti@gmail.com> | 2015-11-12 15:54:31 -0500 |
| commit | 1051745fd12fdf6f999b7b3f89a7494655294cb0 (patch) | |
| tree | 477a1889419505a57a77985a2563ac085fe314b2 /MediaBrowser.Controller/IO/FileData.cs | |
| parent | bccd26808143ddb2a873a3edca4291bf4a74babc (diff) | |
| parent | c6ce8342163a5665f29122aef02ce8068b349f16 (diff) | |
Merge pull request #1265 from MediaBrowser/master
update use of FileAttributes
Diffstat (limited to 'MediaBrowser.Controller/IO/FileData.cs')
| -rw-r--r-- | MediaBrowser.Controller/IO/FileData.cs | 2 |
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; |
