mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-23 19:44:13 +03:00
py3x fixes
This commit is contained in:
parent
cdd2236dd2
commit
67d6e00751
2
setup.py
2
setup.py
|
@ -97,7 +97,7 @@ def _read(file):
|
||||||
|
|
||||||
def get_version():
|
def get_version():
|
||||||
version_file = 'PIL/version.py'
|
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'))
|
exec(compile(f.read(), version_file, 'exec'))
|
||||||
return locals()['__version__']
|
return locals()['__version__']
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user