mirror of
https://github.com/lubuntu-team/lugito.git
synced 2025-03-10 06:31:09 +00:00
Refine the output.
This commit is contained in:
parent
60937be7c6
commit
dfa8d3deba
4
lugito
4
lugito
@ -112,7 +112,7 @@ def ircbot(message):
|
||||
# Put the task status in the message.
|
||||
sendmessage = sendmessage + ", " + taskinfo["statusName"] + "\x03"
|
||||
|
||||
sendmessage = sendmessage + "\x033]\x03"
|
||||
sendmessage = sendmessage + "\x033]\x03 "
|
||||
|
||||
# Put the title in there as well.
|
||||
sendmessage = sendmessage + taskinfo["title"].strip() + ": "
|
||||
@ -124,7 +124,7 @@ def ircbot(message):
|
||||
sendnotice(sendmessage)
|
||||
# If someone wrote something like "Tblah", obviously that's not right.
|
||||
except ValueError:
|
||||
sendnotice("Error: " + item.strip() + "is an invalid task reference.")
|
||||
sendnotice("\x034Error: " + item.strip() + "is an invalid task reference.\x03")
|
||||
|
||||
def listenirc():
|
||||
while True:
|
||||
|
Loading…
x
Reference in New Issue
Block a user