Fix Python 3 compatibility bug

pull/3/head
Dave Page 2017-03-30 23:16:43 -04:00
parent eb89998dc0
commit 696343196a
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ from codecs import open
# Get the requirements list for the current version of Python
req_file='../requirements.txt'
with open(req_file) as reqf:
with open(req_file, 'r') as reqf:
if sys.version_info[0] >= 3:
required = reqf.read().splitlines()
else: