ammgws / ammcon-frontend

Frontend for AmmCon home automation project
Other
1 stars 0 forks source link

Error when refresh token is invalid #7

Closed ammgws closed 8 years ago

ammgws commented 8 years ago

Need to add handling for this case

Traceback (most recent call last):
  File "ammcon.py", line 864, in <module>
    main(args)
  File "ammcon.py", line 836, in main
    server = _AmmConSever(args.mode, args.config_path)
  File "ammcon.py", line 454, in __init__
    access_token = self.authenticate(config_path)
    refresh_token)
  File "ammcon.py", line 807, in google_refresh
    access_token = values['access_token']
KeyError: 'access_token'
ammgws commented 8 years ago

Not using Hangouts anymore.