소스 검색

Check for whitespace

Claus Vium 6 년 전
부모
커밋
6016a27736
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Emby.Naming/Video/VideoListResolver.cs

+ 1 - 1
Emby.Naming/Video/VideoListResolver.cs

@@ -215,7 +215,7 @@ namespace Emby.Naming.Video
                 testFilename = testFilename.Substring(folderName.Length).Trim();
                 return string.IsNullOrEmpty(testFilename) ||
                        testFilename.StartsWith("-") ||
-                       string.IsNullOrEmpty(Regex.Replace(testFilename, @"\[([^]]*)\]", string.Empty)) ;
+                       string.IsNullOrWhiteSpace(Regex.Replace(testFilename, @"\[([^]]*)\]", string.Empty)) ;
             }
 
             return false;