Permalink
Browse files

dont save config.json if used with --account

  • Loading branch information...
vintitres committed Mar 31, 2012
1 parent 80fdeb9 commit 0172cfaed71851b88bfbeafbd9afa6d820cd5b28
Showing with 1 addition and 1 deletion.
  1. +1 −1 gnome-shell-google-calendar.py
@@ -450,9 +450,9 @@ def GetEvents(self, since, until, force_reload):
try:
print "Logging in as '%s'..." % account
client = oauth.oauth_login(account)
- config.set('account', account)
except Exception as e:
account = oauth.oauth_prompt()
+ config.set('account', account)
myserver = CalendarServer(client)
gtk.main()

0 comments on commit 0172cfa

Please sign in to comment.