update use of FileAttributes

This commit is contained in:
Luke Pulverenti
2015-11-12 15:51:39 -05:00
parent bbd672bf95
commit c6ce834216
7 changed files with 10 additions and 11 deletions

View File

@@ -68,7 +68,7 @@ namespace MediaBrowser.LocalMetadata.Images
return parentPathFiles
.Where(i =>
{
if ((i.Attributes & FileAttributes.Directory) == FileAttributes.Directory)
if (i.IsDirectory)
{
return false;
}