From 85fb612475a4629c0abda8fa741f1b9fefac7f10 Mon Sep 17 00:00:00 2001 From: Nemunaire Date: Mon, 3 Mar 2014 20:25:00 +0100 Subject: [PATCH] Chronos: fix display order --- modules/chronos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/chronos.py b/modules/chronos.py index f07170c..261cb09 100644 --- a/modules/chronos.py +++ b/modules/chronos.py @@ -82,7 +82,7 @@ def cmd_chronos(msg): title = "Prochainement " duration = (end - start).total_seconds() / 60 - msg = "\x03\x02" + crs + "\x03\x02 le \x03\x02" + end.strftime("%a %d à %H:%M") + "\x03\x02 pour " + "%dh%02d" % (int(duration / 60), duration % 60) + " en \x03\x02" + where + "\x03\x02" + msg = "\x03\x02" + crs + "\x03\x02 le \x03\x02" + start.strftime("%a %d à %H:%M") + "\x03\x02 pour " + "%dh%02d" % (int(duration / 60), duration % 60) + " en \x03\x02" + where + "\x03\x02" if teacher != "": msg += " avec " + teacher