Dropbox Python SDK support for Flask applications
It seems newer versions of the dropbox SDK do not use oauth.oauth.OAuthToken, instead, they use dropbox.session.OAuthToken, which causes this check to fail: ``` python return DROPBOX_ACCESS_TOKEN_KEY in flask_session and \ isinstance(flask_session[DROPBOX_ACCESS_TOKEN_KEY], OAuthToken) ``` Even when the user is logged in. This commit allows either OAuthToken class to be treated as valid.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by lost-theory and has received 1 comments.