From bcf1fe8b71751caf0b37900bf311dcfd27c0221a Mon Sep 17 00:00:00 2001 From: Lukas Schulz Date: Sun, 20 Dec 2020 13:35:50 +0100 Subject: [PATCH] yes. --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 7ec982f..ee2a77c 100644 --- a/main.py +++ b/main.py @@ -129,9 +129,9 @@ def scrollDownSongInfo(offset_x=0,offset_y=96): if (cover_art is None): return for i in range(32): - canvas = Image.new('RGB', (192,32), color = 'black') - canvas = canvas.paste(cover_art,(0,i)) - songinfo = ImageDraw.Draw(canvas) + song_info_canvas = Image.new('RGB', (192,32), color = 'black') + song_info_canvas = song_info_canvas.paste(cover_art,(0,i)) + songinfo = ImageDraw.Draw(song_info_canvas) songinfo_offset_x = 33 songinfo.text((songinfo_offset_x,songinfo_offset_y+11+i), song_name) songinfo.text((songinfo_offset_x,songinfo_offset_y+i), artist_name)