From cdd6ddaf3badf745414dc913e98748162d712a86 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 29 Jan 2016 12:57:40 +1100 Subject: [PATCH] Minor change --- PIL/EpsImagePlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PIL/EpsImagePlugin.py b/PIL/EpsImagePlugin.py index e818445a3..5b73698d3 100644 --- a/PIL/EpsImagePlugin.py +++ b/PIL/EpsImagePlugin.py @@ -335,7 +335,7 @@ class EpsImageFile(ImageFile.ImageFile): if not self.tile: return # Override the size of the image if specified - if not size is None: + if size is not None: self.size = size self.im = Ghostscript(self.tile, self.size, self.fp, scale) self.mode = self.im.mode