cosmétique

This commit is contained in:
Adrien Bourmault 2022-02-17 11:27:35 +01:00
parent f6e563b071
commit 630ad6948c
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
2 changed files with 2 additions and 2 deletions

2
bot.py
View File

@ -138,7 +138,7 @@ class MUCBot(slixmpp.ClientXMPP):
if presence['muc']['nick'] in self.datastore.knownMaintainers:
self.send_message(mto=presence['from'].bare,
mbody="Salut %s, vos services ont produit des " \
% (presence['muc']['nick']) +
% (presence['muc']['nick']) +
"alertes en votre absence !\nUtilisez la commande"+
" `hist` pour consulter l'historique",
mtype='groupchat')

View File

@ -120,7 +120,7 @@ def cmdhist(owners, nick, text, store):
msg = "voici les cinq derniers évènements pour chaque hôte notifié:\n"
for host in store.knownMaintainers[nick]:
msg += "\nHôte %s:" % host
msg += "\nHôte %s:\n" % host
count = 0
for serviceline in store.knownMaintainers[nick][host]: