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 language: python
cache: pip cache: pip
python: python:
- 2.7
- 3.7 - 3.7
install: install:
- pip install flake8 -r requirements.txt - pip install flake8 -r requirements.txt

View file

@ -42,6 +42,7 @@ import constants
import translations import translations
import wttr_line import wttr_line
if sys.version_info >= (3, 0):
reload(sys) reload(sys)
sys.setdefaultencoding("utf-8") sys.setdefaultencoding("utf-8")