mirror of
				https://github.com/lubuntu-team/lugito.git
				synced 2025-11-04 10:34:03 +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.
 | 
					                # Put the task status in the message.
 | 
				
			||||||
                sendmessage = sendmessage + ", " + taskinfo["statusName"] + "\x03"
 | 
					                sendmessage = sendmessage + ", " + taskinfo["statusName"] + "\x03"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                sendmessage = sendmessage + "\x033]\x03"
 | 
					                sendmessage = sendmessage + "\x033]\x03 "
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                # Put the title in there as well.
 | 
					                # Put the title in there as well.
 | 
				
			||||||
                sendmessage = sendmessage + taskinfo["title"].strip() + ": "
 | 
					                sendmessage = sendmessage + taskinfo["title"].strip() + ": "
 | 
				
			||||||
@ -124,7 +124,7 @@ def ircbot(message):
 | 
				
			|||||||
                sendnotice(sendmessage)
 | 
					                sendnotice(sendmessage)
 | 
				
			||||||
            # If someone wrote something like "Tblah", obviously that's not right.
 | 
					            # If someone wrote something like "Tblah", obviously that's not right.
 | 
				
			||||||
            except ValueError:
 | 
					            except ValueError:
 | 
				
			||||||
                sendnotice("Error: " + item.strip() + "is an invalid task reference.")
 | 
					                sendnotice("\x034Error: " + item.strip() + "is an invalid task reference.\x03")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def listenirc():
 | 
					def listenirc():
 | 
				
			||||||
    while True:
 | 
					    while True:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user