From b788112154766d5d503c434f3036bba776ffe46c Mon Sep 17 00:00:00 2001 From: surgan12 <33121121+surgan12@users.noreply.github.com> Date: Thu, 20 Dec 2018 17:11:41 +0530 Subject: [PATCH] Update Image.py --- src/PIL/Image.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/PIL/Image.py b/src/PIL/Image.py index ec015af5d..36920bd53 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -2111,7 +2111,6 @@ class Image(object): """ # preserve aspect ratio - if isinstance(size, int): size = (size, size)