Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Refactory the code.

Committed by noraesae.
  • Loading branch information...
commit 31c17061fd34f39a054758bb21fca54fdbfad9ba 1 parent e571621
HyeonJe Jun authored
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:
Please sign in to comment.
Something went wrong with that request. Please try again.