Removal of extraneous parenthesis (#33637)
This commit is contained in:
1 parent
7d3c974747
commit
187b6525b4
15 files changed
+59
-80
No files matched your search
@@ -98,7 +98,7 @@ def _resize_image(image, opts):
|
||||
new_width = old_width
|
||||
|
||||
scale = new_width / float(old_width)
|
||||
new_height = int((float(old_height) * float(scale)))
|
||||
new_height = int(float(old_height) * float(scale))
|
||||
|
||||
img = img.resize((new_width, new_height), Image.ANTIALIAS)
|
||||
imgbuf = io.BytesIO()
|
||||
|
||||
Reference in new issue
Block a user