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)