Commit ce3753cf authored by Mindiell's avatar Mindiell

Added colors on monitoring messages

parent edb32d76
......@@ -69,8 +69,9 @@ class Monitor():
# if date of update is greater than today midnight
if today < entry.updated_parsed:
if wiki.last_entry_updated < entry.updated_parsed:
# Ecriture de la mise à jour sur le canal de travail
messages.append("""%s a mis à jour la page "%s" sur le wiki (%s)""" % (
# Sending monitoring on working chan
messages.append("""[\x0311%s\x03] \x039%s\x03 a mis à jour la page \x038%s\x03 => \x0313%s\x03""" % (
wiki.name,
entry.author.encode("utf-8"),
entry.title.encode("utf-8"),
entry.link.encode("utf-8"),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment