Permalink
Browse files

Refactory the code.

Committed by noraesae.
  • Loading branch information...
1 parent e571621 commit 31c17061fd34f39a054758bb21fca54fdbfad9ba HyeonJe Jun committed Jun 27, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/evernote2bitly.py
View
@@ -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 31c1706

Please sign in to comment.