travis fixes

This commit is contained in:
Igor Chubin 2019-12-29 17:10:58 +01:00
parent 568f620511
commit 383739aadd
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,6 @@ group: travis_latest
language: python
cache: pip
python:
- 2.7
- 3.7
install:
- pip install flake8 -r requirements.txt

View file

@ -42,8 +42,9 @@ import constants
import translations
import wttr_line
reload(sys)
sys.setdefaultencoding("utf-8")
if sys.version_info >= (3, 0):
reload(sys)
sys.setdefaultencoding("utf-8")
# data processing {{{