fixed dumb typo
This commit is contained in:
2
main.py
2
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.
|
||||
|
||||
Reference in New Issue
Block a user