13th_fix combine download
This commit is contained in:
@@ -321,7 +321,7 @@ class ExcelParser(DocumentParser):
|
||||
|
||||
# For auto-detect, translate if has CJK or meaningful text
|
||||
if src_lang.lower() in ('auto', 'auto-detect'):
|
||||
return has_cjk or len(text) > 5
|
||||
return self._has_cjk(text) or len(text) > 5
|
||||
|
||||
return True
|
||||
|
||||
|
Reference in New Issue
Block a user