Clear speaker in very specific early exit
This commit is contained in:
parent
0701385eaa
commit
c3c7d7e909
1 changed files with 2 additions and 4 deletions
|
|
@ -2434,10 +2434,8 @@ def searchCodes(page, pbar, jobList, filename):
|
|||
# Format String
|
||||
if len(currentGroup) > 0:
|
||||
rawSource = _group_raw_source(codeList, groupStart, sourceGroup)
|
||||
if not rawSource.strip():
|
||||
i += 1
|
||||
continue
|
||||
if not re.search(LANGREGEX, rawSource) and IGNORETLTEXT:
|
||||
if (not rawSource.strip()) or (IGNORETLTEXT and not re.search(LANGREGEX, rawSource)):
|
||||
speaker = ""
|
||||
i += 1
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue