Skip to content

Commit

Permalink
failure on dict syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
aperson committed Oct 6, 2012
1 parent a2a72d5 commit 925e030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moderator-bot.py
Expand Up @@ -783,7 +783,7 @@ def filterSubmission(self, submission):
for i in self.meme_sites:
if i in submission['url']:
params = {'title': submission['title'].title(), 'resubmit': True,
'url' = submission['url']}
'url': submission['url']}
resubmit = '/r/{}/submit?{}'.format('memecraft', urlencode(params)))
reason = "meme submissions are not allowed"
self.comment = self.comment_template.format(sub=submission['subreddit'],
Expand Down

0 comments on commit 925e030

Please sign in to comment.