mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-11 04:07:21 +03:00
MAINT replace is False by not
This commit is contained in:
parent
6b53d0d007
commit
ead121d951
|
@ -80,7 +80,7 @@ def Ghostscript(tile, size, fp, scale=1):
|
||||||
]
|
]
|
||||||
|
|
||||||
if gs_windows_binary is not None:
|
if gs_windows_binary is not None:
|
||||||
if gs_windows_binary is False:
|
if not gs_windows_binary:
|
||||||
raise WindowsError('Unable to locate Ghostscript on paths')
|
raise WindowsError('Unable to locate Ghostscript on paths')
|
||||||
command[0] = gs_windows_binary
|
command[0] = gs_windows_binary
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ from tester import *
|
||||||
from PIL import Image, EpsImagePlugin
|
from PIL import Image, EpsImagePlugin
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
if EpsImagePlugin.gs_windows_binary is False:
|
if not EpsImagePlugin.gs_windows_binary:
|
||||||
# already checked. Not there.
|
# already checked. Not there.
|
||||||
skip()
|
skip()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user