From 436dfc356c1018ecae71c08f1b2e51a2a869e5d5 Mon Sep 17 00:00:00 2001 From: Steven Smith Date: Sat, 5 Oct 2013 21:11:52 +0800 Subject: [PATCH] Dammit noodle --- plugins/github.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/github.py b/plugins/github.py index 00ee88d..07b8357 100644 --- a/plugins/github.py +++ b/plugins/github.py @@ -50,8 +50,8 @@ def ghissues(inp): return "Repo has no open issues" except ValueError: return "Invalid data returned. Check arguments (.github issues username/repo [number]" - fmt = "Issue: #{} ({}) by {}: {} | {} {}".format(number, state, user.login, title, truncate(body), gitio.gitio(data.url)) - fmt1 = "Issue: #{} ({}) by {}: {} {}".format(number, state, user.login, title, gitio.gitio(data.url)) + fmt = "Issue: #{} ({}) by {}: {} | {} {}" # (number, state, user.login, title, truncate(body), gitio.gitio(data.url)) + fmt1 = "Issue: #{} ({}) by {}: {} {}" # (number, state, user.login, title, gitio.gitio(data.url)) number = data["number"] if data["state"] == "open": state = u"\x033\x02OPEN\x02\x0f"