fix bug
This commit is contained in:
parent
81ed465607
commit
fe63275a6b
@ -68,6 +68,8 @@ class StringUtils:
|
|||||||
"""
|
"""
|
||||||
判断是否含有中文
|
判断是否含有中文
|
||||||
"""
|
"""
|
||||||
|
if not word:
|
||||||
|
return False
|
||||||
if isinstance(word, list):
|
if isinstance(word, list):
|
||||||
word = " ".join(word)
|
word = " ".join(word)
|
||||||
chn = re.compile(r'[\u4e00-\u9fff]')
|
chn = re.compile(r'[\u4e00-\u9fff]')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user