mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +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 False:
|
||||
if not gs_windows_binary:
|
||||
raise WindowsError('Unable to locate Ghostscript on paths')
|
||||
command[0] = gs_windows_binary
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ from tester import *
|
|||
from PIL import Image, EpsImagePlugin
|
||||
import sys
|
||||
|
||||
if EpsImagePlugin.gs_windows_binary is False:
|
||||
if not EpsImagePlugin.gs_windows_binary:
|
||||
# already checked. Not there.
|
||||
skip()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user