travis fixes
This commit is contained in:
parent
568f620511
commit
383739aadd
2 changed files with 3 additions and 3 deletions
|
|
@ -2,7 +2,6 @@ group: travis_latest
|
|||
language: python
|
||||
cache: pip
|
||||
python:
|
||||
- 2.7
|
||||
- 3.7
|
||||
install:
|
||||
- pip install flake8 -r requirements.txt
|
||||
|
|
|
|||
|
|
@ -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 {{{
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue