yes.
This commit is contained in:
parent
7f01c9ed47
commit
fe13250b53
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -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()
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue