diff --git a/github.py b/github.py index 00bb54a1cf..599c995e1b 100644 --- a/github.py +++ b/github.py @@ -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.')