Skip to content
Permalink
Browse files

extra_tokens is a key-value dict

  • Loading branch information...
msonsona committed Nov 9, 2015
1 parent ff32142 commit f385351611d66502fe7fe765cb9446fd87a52bbc
Showing with 2 additions and 3 deletions.
  1. +2 −3 credentials_pickler.py
@@ -8,14 +8,13 @@
access_token_secret = input("5. Enter the access_token_secret > ")

extra_info = 'y'
extra_tokens = []
extra_tokens = {}
while extra_info == 'y':
extra_info = input("Do you want to store any extra key - value pair? (y/n) > ")
if extra_info == 'y':
extra_info_key = input("First, enter the name (key) > ")
extra_info_value = input("Second, enter the value to store > ")
extra_tokens.append({'key': extra_info_key,
'value': extra_info_value})
extra_tokens[extra_info_key] = extra_info_value


credentials = {

0 comments on commit f385351

Please sign in to comment.
You can’t perform that action at this time.