mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +03:00
Merge pull request #3611 from radarhere/eps
Changed EPS subprocess stdin from devnull to None
This commit is contained in:
commit
d0fa318c01
|
@ -144,7 +144,7 @@ def Ghostscript(tile, size, fp, scale=1):
|
|||
if sys.platform.startswith('win'):
|
||||
startupinfo = subprocess.STARTUPINFO()
|
||||
startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
|
||||
subprocess.check_call(command, stdin=devnull, stdout=devnull,
|
||||
subprocess.check_call(command, stdout=devnull,
|
||||
startupinfo=startupinfo)
|
||||
im = Image.open(outfile)
|
||||
im.load()
|
||||
|
|
Loading…
Reference in New Issue
Block a user