Skip to content

Commit

Permalink
[github] Fix a minor formatting problem
Browse files Browse the repository at this point in the history
Extra newline made it not render as a code block.
  • Loading branch information
embolalia committed Jul 30, 2013
1 parent 35802dd commit 3ad02b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def add_traceback(bot, trigger):
try:
raw = web.post('https://api.github.com/repos/' + gitAPI[1] + '/issues/'
+ number + '/comments?access_token=' + gitAPI[0],
json.dumps({'body': '``\n' + post + '\n``'}))
json.dumps({'body': '``\n' + post + '``'}))
except OSError:#HTTPError:
return bot.say('The GitHub API returned an error.')

Expand Down

0 comments on commit 3ad02b0

Please sign in to comment.