Skip to content

Commit

Permalink
try to fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
dkm committed Oct 24, 2011
1 parent ffa4f3d commit 4adbb53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/vimeo-uploadv2.py
Expand Up @@ -78,10 +78,10 @@ def main(argv):
sys.exit(-1)

if not (vconfig.has_option("auth", "token") and vconfig.has_option("auth", "token_secret")):
client = vimeo.VimeoOAuthClient(vconfig.get("appli", "consumer_key"),
vconfig.get("appli", "consumer_secret"))
client = vimeo.VimeoClient(key=vconfig.get("appli", "consumer_key"),
secret=vconfig.get("appli", "consumer_secret"))
client.get_request_token()
print client.get_authorize_token_url(permission="write")
print client.get_authorization_url(permission="write")
verifier = sys.stdin.readline().strip()
print "Using", verifier, "as verifier"
print client.get_access_token(verifier)
Expand Down

0 comments on commit 4adbb53

Please sign in to comment.