Permalink
Browse files

Refactory the code.

Committed by noraesae.
  • Loading branch information...
1 parent 0b419d3 commit bfd9b17612f12adefa4e550820b13b5a6c1424da @noraesae committed Jun 27, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/evernote2bitly.py
View
2 src/evernote2bitly.py
@@ -41,12 +41,10 @@ def evtime2epoch(evdatetime):
# sort by created datetime
links = sorted(links, key=lambda link: link.created)
-
# get oauth token
bitly_id = raw_input('bitly account id > ')
bitly_pw = raw_input('bitly password > ')
access_token = requests.post('https://api-ssl.bitly.com/oauth/access_token', auth=(bitly_id, bitly_pw)).text
-print access_token
# save url
for link in links:

0 comments on commit bfd9b17

Please sign in to comment.