master
Lukas Schulz 2020-12-20 14:20:45 +01:00
parent 7f01c9ed47
commit fe13250b53
1 changed files with 1 additions and 1 deletions

View File

@ -54,6 +54,7 @@ font = ImageFont.load_default()
def get_track():
print('getting current song info')
get_access_token()
sp = spotipy.Spotify(auth=token)
track = sp.currently_playing()
if track is None:
@ -236,7 +237,6 @@ if __name__ == "__main__":
get_access_token()
drawCanvas()
time.sleep(10)
main()