mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-31 21:08:27 +01:00
update use of FileAttributes
This commit is contained in:
@@ -68,7 +68,7 @@ namespace MediaBrowser.LocalMetadata.Images
|
||||
return parentPathFiles
|
||||
.Where(i =>
|
||||
{
|
||||
if ((i.Attributes & FileAttributes.Directory) == FileAttributes.Directory)
|
||||
if (i.IsDirectory)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user