diff --git a/.travis.yml b/.travis.yml index 977297c..9c54bf4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: python python: - "2.7" + - "3.6" install: - "pip install ." diff --git a/README.md b/README.md index dbee93a..b1fcd50 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ It's one of those tools where, the more you use it, the more you think of places Dependencies ------------ -* python2 +* Python 2.7 or Python 3.6+ Credits ------- diff --git a/codemod/terminal_helper.py b/codemod/terminal_helper.py index 91e2927..343b179 100644 --- a/codemod/terminal_helper.py +++ b/codemod/terminal_helper.py @@ -12,6 +12,9 @@ import termios import struct +if sys.version_info[0] >= 3: + unicode = str + def terminal_get_size(default_size=(25, 80)): """