Fixed uppercase detection mod with multiline HI

This commit is contained in:
Jakob Koschel 2023-02-22 18:28:02 +01:00 committed by GitHub
parent 88c9d67cf1
commit 68a0d78725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 14 deletions

View File

@ -184,7 +184,7 @@ class SubtitleModifications(object):
entries_used = 0
for entry in self.f:
entry_used = False
for sub in entry.text.strip().split(r"\N"):
sub = entry.text
# skip HI bracket entries, those might actually be lowercase
sub = sub.strip()
for processor in registry.mods["remove_HI"].processors[:4]: