Skip to content

Commit

Permalink
Correct env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
schedutron committed Aug 29, 2017
1 parent b140116 commit 97e665d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions useful_twitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@

try:
oauth = OAuth(
os.environ['TW_ACCESS_TOKEN'],
os.environ['TW_ACCESS_SECRET'],
os.environ['TW_CONSUMER_KEY'],
os.environ['TW_CONSUMER_SECRET']
os.environ['ACCESS_TOKEN'],
os.environ['ACCESS_SECRET'],
os.environ['CONSUMER_KEY'],
os.environ['CONSUMER_SECRET']
)
except KeyError: # For local tests.
with open('credentials', 'r') as secret:
Expand Down

0 comments on commit 97e665d

Please sign in to comment.