aboutsummaryrefslogtreecommitdiff
path: root/modules/images.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/images.py')
-rw-r--r--modules/images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/images.py b/modules/images.py
index 4befddf0..334f8fec 100644
--- a/modules/images.py
+++ b/modules/images.py
@@ -332,7 +332,7 @@ class Upscaler:
img = self.do_upscale(img)
if img.width != w or img.height != h:
- img = img.resize((w, h), resample=LANCZOS)
+ img = img.resize((int(w), int(h)), resample=LANCZOS)
return img