From 67d6e007519e8ccd68772935a82c763bb15eba8c Mon Sep 17 00:00:00 2001 From: wiredfool Date: Wed, 10 May 2017 04:59:37 -0700 Subject: [PATCH] py3x fixes --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c2248c3b3..9aa6fbf26 100755 --- a/setup.py +++ b/setup.py @@ -97,7 +97,7 @@ def _read(file): def get_version(): version_file = 'PIL/version.py' - with open(version_file, 'ra') as f: + with open(version_file, 'r') as f: exec(compile(f.read(), version_file, 'exec')) return locals()['__version__']