Skip to content
This repository has been archived by the owner on May 4, 2020. It is now read-only.

Commit

Permalink
Refactory the code.
Browse files Browse the repository at this point in the history
Committed by noraesae.
  • Loading branch information
HyeonJe Jun committed Jun 27, 2012
1 parent e571621 commit 31c1706
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/evernote2bitly.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 31c1706

Please sign in to comment.