Don't count Unknown towards additional scripts count (mixed_unicode.py)
This commit is contained in:
parent
549c12da10
commit
80dd3bb5e1
1 changed files with 1 additions and 1 deletions
|
@ -62,8 +62,8 @@ class Module(ModuleManager.BaseModule):
|
||||||
last_was_separator = True
|
last_was_separator = True
|
||||||
else:
|
else:
|
||||||
script = self._detect_script(char)
|
script = self._detect_script(char)
|
||||||
scripts.add(script)
|
|
||||||
if not script == Script.Unknown:
|
if not script == Script.Unknown:
|
||||||
|
scripts.add(script)
|
||||||
if last_script and not script == last_script:
|
if last_script and not script == last_script:
|
||||||
reasons.append(ScoreReason.ScriptChange)
|
reasons.append(ScoreReason.ScriptChange)
|
||||||
if not last_was_separator:
|
if not last_was_separator:
|
||||||
|
|
Loading…
Reference in a new issue