This commit is contained in:
Lukas Schulz 2020-12-19 22:29:48 +01:00
parent 41fed62cfe
commit c30bc7efcd

View file

@ -54,7 +54,8 @@ async def get_track():
#else: #else:
print("Can't get token for", username) print("Can't get token for", username)
def main(): def main():
screen.SetImage(await get_track().convert('RGB')) thumbnail = get_track()
screen.SetImage(thumbnail.convert('RGB'))
if __name__ == "__main__": if __name__ == "__main__":