Browse Source

修复代码问题

Signed-off-by: allan716 <[email protected]>
allan716 3 years ago
parent
commit
92609b7ee5
1 changed files with 4 additions and 0 deletions
  1. 4 0
      TestCode/test_statistics_subs_score.go

+ 4 - 0
TestCode/test_statistics_subs_score.go

@@ -289,6 +289,10 @@ func statistics_subs_score_is_match(videoFPath, subSearchRootPath string) {
 				return nil
 			}
 
+			if bok == false {
+				return nil
+			}
+
 			subCounter++
 			err = f.SetCellValue(sheetName, fmt.Sprintf("A%d", subCounter+1), info.Name())
 			if err != nil {