You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the python interpreter to set up OAuth as suggested in the README, it fails because:
MonzoAPI._token is set in MonzoAPI.__init__ by calling self_get_oauth_token()
This calls self._save_token_on_disk()before returning
_save _token_on_disk() tries to do token = self._token.copy(), but fails with AttributeError: 'MonzoAPI' object has no attribute '_token' becasue _token isn't set yet because _get_oauth_token() has not yet returned.
The text was updated successfully, but these errors were encountered:
* upstream-master:
Dev version bump
Prepare release v0.10.3
Updated CHANGELOG
Fixed saving token file to disk (pawelad#9)
Create CODE_OF_CONDUCT.md
Updated README
Updated dev requirements file
Dev version bump
Prepare release v0.10.2
Updated tests
Cleaned up exceptions
Save 'client_secret' value in JSON token file
# Conflicts:
# src/pymonzo/monzo_api.py
When using the python interpreter to set up OAuth as suggested in the README, it fails because:
MonzoAPI._token
is set inMonzoAPI.__init__
by callingself_get_oauth_token()
self._save_token_on_disk()
before returning_save _token_on_disk()
tries to dotoken = self._token.copy()
, but fails withAttributeError: 'MonzoAPI' object has no attribute '_token'
becasue_token
isn't set yet because_get_oauth_token()
has not yet returned.The text was updated successfully, but these errors were encountered: