This commit is contained in:
Lukas Schulz 2020-12-19 23:26:03 +01:00
parent c506b7e872
commit 5e5572c833

View file

@ -41,7 +41,7 @@ def get_track():
print('getting image') print('getting image')
image_url = track['item']['album']['images'][0]['url'] image_url = track['item']['album']['images'][0]['url']
response = requests.get(image_url) response = requests.get(image_url)
imgage = Image.open(BytesIO(response.content)) image = Image.open(BytesIO(response.content))
#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')