fix config options

This commit is contained in:
lza_menace 2020-10-15 00:00:51 -07:00
parent 79aedd8310
commit be59d6a2b3

View file

@ -5,11 +5,11 @@ from suchwow import config
class Reddit(object):
def __init__(self):
self.reddit = Reddit(
client_id=config.get("PRAW_CLIENT_ID"),
client_secret=config.get("PRAW_CLIENT_SECRET"),
user_agent=config.get("PRAW_USER_AGENT"),
username=config.get("PRAW_USERNAME"),
password=config.get("PRAW_PASSWORD")
client_id=config.PRAW_CLIENT_ID,
client_secret=config.PRAW_CLIENT_SECRET,
user_agent=config.PRAW_USER_AGENT,
username=config.PRAW_USERNAME,
password=config.PRAW_PASSWORD
)
self.subreddit = "wownero"