From c152f9cafef66c5a518d8b52cad84a7b44ba3cf9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Wikle=20DUBARD?= <loic97429@gmail.com>
Date: Sun, 29 Sep 2019 16:50:57 +0200
Subject: [PATCH] date suppression de aujourd'hui

---
 Jarvis.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jarvis.py b/Jarvis.py
index 008a358..309d5be 100755
--- a/Jarvis.py
+++ b/Jarvis.py
@@ -320,7 +320,7 @@ def tests(entre):
         os.system(entre.split(" ")[-1] + ">/dev/null")
 
     # donne la date
-    if (("date" in entre or "jour" in entre) and ("on est" in entre or "aujourd'hui" in entre)):
+    if (("date" in entre or "jour" in entre) and ("on est" in entre)):
         now = time.localtime(time.time())
         year, month, day, hour, minute, second, weekday, yearday, daylight = now
         date = "On est le " + \
-- 
GitLab