MAINT replace is False by not

This commit is contained in:
François Boulogne 2014-01-08 22:07:35 -05:00
parent 6b53d0d007
commit ead121d951
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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()