Undo Accidental Change
This commit is contained in:
parent
1fc47bc9c3
commit
15cf68cac0
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ def translateGPT(t, history, fullPromptFlag):
|
|||
subbedT = varResponse[0]
|
||||
|
||||
# If there isn't any Japanese in the text just skip
|
||||
if not re.search(r'[<EFBFBD><EFBFBD>-<2D>]+|[<5B><>-?]+|[<5B>@-<2D><>]+|[\uFF00-\uFFEF]', subbedT):
|
||||
if not re.search(r'[一-龠]+|[ぁ-ゔ]+|[ァ-ヴ]+|[\uFF00-\uFFEF]', subbedT):
|
||||
return (t, 0)
|
||||
|
||||
# Characters
|
||||
|
|
|
|||
Loading…
Reference in a new issue