mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 01:04:29 +03:00
commit
871db4e91a
2
setup.py
2
setup.py
|
@ -111,7 +111,7 @@ def _find_library_dirs_ldconfig():
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
env=env)
|
env=env)
|
||||||
except OSError: # E.g. command not found
|
except OSError: # E.g. command not found
|
||||||
return None
|
return []
|
||||||
[data, _] = p.communicate()
|
[data, _] = p.communicate()
|
||||||
if isinstance(data, bytes):
|
if isinstance(data, bytes):
|
||||||
data = data.decode()
|
data = data.decode()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user