Skip to content

Commit

Permalink
Update bot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Epicfisher authored Apr 22, 2018
1 parent 67960fd commit 0cd758c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
interval = float(os.environ['INTERVAL'])
post_interval = float(os.environ['POSTINTERVAL'])

postedArticlesGenerated = reddit.redditor(username).submissions.new()
postedArticlesGenerated = reddit.redditor(os.environ['USERNAME']).submissions.new()
postedArticles = list(postedArticlesGenerated)

linkInPosted = False
Expand Down

0 comments on commit 0cd758c

Please sign in to comment.