You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/tys1998/Tools/markdown-writing-with-mixed-cn-en/cnenlinter/venv/bin/cnenlinter", line 11, in <module>
load_entry_point('cnenlinter', 'console_scripts', 'cnenlinter')()
File "/home/tys1998/Tools/markdown-writing-with-mixed-cn-en/cnenlinter/venv/lib/python3.6/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/home/tys1998/Tools/markdown-writing-with-mixed-cn-en/cnenlinter/venv/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/home/tys1998/Tools/markdown-writing-with-mixed-cn-en/cnenlinter/venv/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/tys1998/Tools/markdown-writing-with-mixed-cn-en/cnenlinter/venv/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/home/tys1998/Tools/markdown-writing-with-mixed-cn-en/cnenlinter/cnenlinter.py", line 98, in cnenlinter
if not linted.isascii() or linted.startswith('#'):
AttributeError: 'str' object has no attribute 'isascii'
The text was updated successfully, but these errors were encountered:
str 对象的 isascii 属性是 3.7 版本的 Python新增的。
官方文档
The text was updated successfully, but these errors were encountered: