Bug quote list

This commit is contained in:
Nemesis 2018-07-22 15:50:11 +02:00
parent 370ff5b782
commit ba44a5ce9d

View file

@ -973,7 +973,7 @@ def quote(room,event):
for cle,valeur in famous.items():
reponse = reponse + cle[0] + " / " + str(cle[1]) + " : " + valeur + "\n"
cpt += 1
if (cpt > 9):
if (cpt > 7):
cpt = 0
salon.send_text(reponse)
reponse = ""
@ -988,7 +988,7 @@ def quote(room,event):
for cle,valeur in fame.items():
reponse = reponse + cle[0] + " / " + str(cle[1]) + " : " + valeur + "\n"
cpt += 1
if (cpt > 9):
if (cpt > 7):
cpt = 0
salon.send_text(reponse)
reponse = ""