From 977cec1c3772989435307bf1b222ab8d8f3b8812 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Sun, 20 May 2018 02:34:07 -0500 Subject: [PATCH] Improve the logic a little bit. --- lugito | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lugito b/lugito index c4131b7..4016727 100755 --- a/lugito +++ b/lugito @@ -121,7 +121,7 @@ def main(): fulltaskname = phab.phid.query(phids=[data["object"]["phid"]])[data["object"]["phid"]]["fullName"] link = "\x032" + phab.phid.query(phids=[data["object"]["phid"]])[data["object"]["phid"]]["uri"] + "#" + str(commentid) + "\x03" message = "\x033[\x03\x0313"+ fulltaskname +"\x03\x033]\x03 \x0315" + str(who) + "\x03 " - if comment == True and edited == False: + if comment == True: message = message + "commented on the task: " + link elif edited == True: message = message + "edited a message on the task: " + link