From a9cfca2c48d84b5a7fc1d63ce4aaaad638393f53 Mon Sep 17 00:00:00 2001 From: Vincent Le Gallic Date: Wed, 24 Jun 2015 04:11:08 +0200 Subject: [PATCH] =?utf8?q?La=20futurs=20annivs=20affich=C3=A9s=20le=20sont?= =?utf8?q?=20sur=20un=20espace=20temporel=20connexe?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- today.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/today.py b/today.py index 2899ae1..2fb940e 100755 --- a/today.py +++ b/today.py @@ -122,9 +122,7 @@ def get_birthdays(*search): birthdays.append([config.red, u"%s a %s ans AUJOURD'HUI !" % (nom, age), 0, config.endcolor]) elif delta < datetime.timedelta(7): birthdays.append([config.red, u"%s va avoir %s ans" % (nom, age), -delta.days, config.endcolor]) - elif delta < datetime.timedelta(14): - birthdays.append([u"", u"%s va avoir %s ans" % (nom, age), -delta.days, u""]) - elif datetime.timedelta(30-4) < delta < datetime.timedelta(30+4): + elif delta < datetime.timedelta(30): birthdays.append([u"", u"%s va avoir %s ans" % (nom, age), -delta.days, u""]) else: # Recherche spécifique -- 2.39.2