提交 42e69693 编写于 作者: W wuzewu

Fix ci bug

上级 677c7bfd
......@@ -4,9 +4,8 @@ python:
- '2.7'
- '3.5'
- '3.6'
- '3.7'
script: /bin/bash ./scripts/check_code_style.sh
script: if [[ $TRAVIS_PYTHON_VERSION != 2.7 ]]; then /bin/bash ./scripts/check_code_style.sh; fi
notifications:
email:
......
......@@ -17,7 +17,7 @@ import six
if six.PY2:
import sys
reload(sys)
reload(sys) # noqa
sys.setdefaultencoding("UTF-8")
from . import module
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册