Skip to content

Commit

Permalink
adding in reference to secret variables
Browse files Browse the repository at this point in the history
  • Loading branch information
chadskelton committed Jun 25, 2019
1 parent 681ae62 commit 6ebb2c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scraper.py
Expand Up @@ -13,10 +13,10 @@
import random
import datetime

TWEEPY_CONSUMER_KEY =
TWEEPY_CONSUMER_SECRET =
TWEEPY_ACCESS_TOKEN =
TWEEPY_ACCESS_TOKEN_SECRET =
TWEEPY_CONSUMER_KEY = os.environ['MORPH_CONSUMER_KEY']
TWEEPY_CONSUMER_SECRET = os.environ['MORPH_CONSUMER_SECRET']
TWEEPY_ACCESS_TOKEN = os.environ['MORPH_ACCESS_TOKEN']
TWEEPY_ACCESS_TOKEN_SECRET = os.environ['MORPH_ACCESS_TOKEN_SECRET']

auth1 = tweepy.auth.OAuthHandler(TWEEPY_CONSUMER_KEY, TWEEPY_CONSUMER_SECRET)
auth1.set_access_token(TWEEPY_ACCESS_TOKEN, TWEEPY_ACCESS_TOKEN_SECRET)
Expand Down

0 comments on commit 6ebb2c0

Please sign in to comment.