X-Git-Url: http://gitweb.pimeys.fr/?a=blobdiff_plain;ds=sidebyside;f=historien.py;h=df9b99c81cf546ddcdef6af05ab955d44405b5f5;hb=84e335ee1cb32c3a8940f61a62e14b59df750446;hp=d916e75248481e291b30c3f07ba2279a0c675b1f;hpb=91e6136d370f74be949601f17a7fd01eb85c4ad3;p=bots%2Fhistorien.git diff --git a/historien.py b/historien.py index d916e75..df9b99c 100755 --- a/historien.py +++ b/historien.py @@ -88,7 +88,7 @@ def reussi(message,answer,auteur): print tuple(date) except ThisIsNotADate: return False - as_string="%02d/%02d/%d"%(date[2],date[1],date[0]) + as_string="%02d/%02d/%04d"%(date[2],date[1],date[0]) print as_string if as_string==answer: return True