yes.
This commit is contained in:
parent
5fe46a5e4a
commit
885fdb972d
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -46,12 +46,12 @@ def get_track():
|
||||||
#imageString = requests.get(track['item']['album']['images'][0]['url'])
|
#imageString = requests.get(track['item']['album']['images'][0]['url'])
|
||||||
#image = Image.open(f)
|
#image = Image.open(f)
|
||||||
print('resizing image')
|
print('resizing image')
|
||||||
#image = image.resize((32,32))
|
image = image.resize((32,32))
|
||||||
print(str(image))
|
print(str(image))
|
||||||
#return image
|
#return image
|
||||||
#image.save("thumbnail.jpg","JPEG")
|
#image.save("thumbnail.jpg","JPEG")
|
||||||
print('set image')
|
print('set image')
|
||||||
screen.SetImage(image.convert('RGB'))
|
screen.SetImage(image.convert('RGB'), unsafe=True)
|
||||||
print('image set')
|
print('image set')
|
||||||
|
|
||||||
#if token:
|
#if token:
|
||||||
|
|
Loading…
Reference in a new issue