From 885fdb972dd8921faed8ce09e20143768299accb Mon Sep 17 00:00:00 2001 From: Lukas Schulz Date: Sat, 19 Dec 2020 23:32:57 +0100 Subject: [PATCH] yes. --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 27a68b3..13ba28e 100644 --- a/main.py +++ b/main.py @@ -46,12 +46,12 @@ def get_track(): #imageString = requests.get(track['item']['album']['images'][0]['url']) #image = Image.open(f) print('resizing image') - #image = image.resize((32,32)) + image = image.resize((32,32)) print(str(image)) #return image #image.save("thumbnail.jpg","JPEG") print('set image') - screen.SetImage(image.convert('RGB')) + screen.SetImage(image.convert('RGB'), unsafe=True) print('image set') #if token: