diff --git a/example/dropbox.py b/example/dropbox.py index 6bbc8808..d247215b 100644 --- a/example/dropbox.py +++ b/example/dropbox.py @@ -44,7 +44,7 @@ def authorized(): resp = dropbox.authorized_response() if resp is None: return 'Access denied: reason=%s error=%s' % ( - request.args['error_reason'], + request.args['error'], request.args['error_description'] ) session['dropbox_token'] = (resp['access_token'], '')