mirror of
https://github.com/SeedSigner/seedsigner.git
synced 2026-10-06 07:28:24 +00:00
resolves Pillow 10 deprecation warning
This commit is contained in:
@@ -48,6 +48,6 @@ class QR:
|
||||
# if qrencode fails, fall back to only encoder
|
||||
if rv != 0:
|
||||
return self.qrimage(data,width,height,border)
|
||||
img = Image.open("/tmp/qrcode.png").resize((width,height), Image.NEAREST).convert("RGBA")
|
||||
img = Image.open("/tmp/qrcode.png").resize((width,height), Image.Resampling.NEAREST).convert("RGBA")
|
||||
|
||||
return img
|
||||
|
||||
Reference in New Issue
Block a user