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