Skip to content

Commit e78a3ae

Browse files
committed
cleaner: fix off by one in a message
1 parent 099463c commit e78a3ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cleaner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ func removeAds(subs []caption) []caption {
101101
for _, adLine := range ads {
102102
if !isAd && strings.Contains(x, adLine) {
103103
isAd = true
104-
log.Println("[ads]", orgSeq, sub.Text, "matched", adLine)
104+
log.Println("[ads]", (orgSeq + 1), sub.Text, "matched", adLine)
105105
break
106106
}
107107
}

0 commit comments

Comments
 (0)