Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

Commit

Permalink
logout before logging in again
Browse files Browse the repository at this point in the history
  • Loading branch information
lackhove committed Jan 2, 2013
1 parent 4e39434 commit f90e7be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gmusic-resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ def init(request):
global api
loggedIn = False
attempts = 1
if api.is_authenticated():
api.logout()
api = gmusicapi.Api()

while not loggedIn and attempts <= 3:

Expand Down

0 comments on commit f90e7be

Please sign in to comment.