From 2d64059e6aa84fac21cd7ea81468e04e641aa9bf Mon Sep 17 00:00:00 2001 From: Dan Date: Fri, 7 May 2021 02:02:24 -0400 Subject: [PATCH] fixed dumb typo --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index e987728..b29e477 100644 --- a/main.py +++ b/main.py @@ -87,7 +87,7 @@ class MangaReader: #Modified above code to maintain height and scale width hpercent = (hsize / float(im.size[1])) - widthsize = init((float(im.size[0] * float(hpercent)))) + widthsize = int((float(im.size[0] * float(hpercent)))) im = im.resize((widthsize, hsize), Image.ANTIALIAS) #convert to tkImage and update the on screen image.