~dobey/ubuntuone-control-panel/no-gb-val

« back to all changes in this revision

Viewing changes to ubuntuone/controlpanel/gui/__init__.py

  • Committer: Tarmac
  • Author(s): ralsina
  • Date: 2011-08-12 18:48:14 UTC
  • mfrom: (195.1.2 missing_slash)
  • Revision ID: tarmac-20110812184814-tx44bx12jjblshlm
The redirect doesn't work without the final /

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
                                   credentials["consumer_secret"])
189
189
    token = oauth.OAuthToken(credentials["token"],
190
190
                             credentials["token_secret"])
191
 
    uri = 'https://one.ubuntu.com/api/1.0/from_oauth'
 
191
    uri = 'https://one.ubuntu.com/api/1.0/from_oauth/'
192
192
    request = oauth.OAuthRequest.from_consumer_and_token(
193
193
        http_url=uri, http_method='GET',
194
194
        oauth_consumer=consumer, token=token,