mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-01 19:43:09 +00:00
remove directory check
This commit is contained in:
parent
28e922326d
commit
c10cb66169
1 changed files with 1 additions and 1 deletions
|
|
@ -394,7 +394,7 @@ namespace Emby.Server.Implementations.Library
|
|||
|
||||
foreach (var fileSystemInfo in item.GetDeletePaths())
|
||||
{
|
||||
if (fileSystemInfo.IsDirectory ? Directory.Exists(fileSystemInfo.FullName) : File.Exists(fileSystemInfo.FullName))
|
||||
if (Directory.Exists(fileSystemInfo.FullName) || File.Exists(fileSystemInfo.FullName))
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue