Skip to content

Commit

Permalink
Actually save creds
Browse files Browse the repository at this point in the history
  • Loading branch information
sabeechen committed Apr 4, 2019
1 parent e726d17 commit f8fc491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hassio-google-drive-backup/backup/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def token(self, **kwargs: Dict[str, Any]) -> None:
# TODO: Need to do some error handling here. Exceptions will surface using the cherrypy default.
if 'creds' in kwargs:
creds = OAuth2Credentials.from_json(kwargs['creds'])
#creds.from_json(kwargs[creds].strip("'"))
self.engine.saveCreds(creds)
raise cherrypy.HTTPRedirect("/")

@cherrypy.expose # type: ignore
Expand Down

0 comments on commit f8fc491

Please sign in to comment.