]> gitweb.pimeys.fr Git - today.git/commitdiff
on affiche le dernier id des trucs non lues (plus facile pour update)
authorVincent Le Gallic <legallic@crans.org>
Wed, 10 Apr 2013 04:12:38 +0000 (06:12 +0200)
committerVincent Le Gallic <legallic@crans.org>
Wed, 10 Apr 2013 04:12:38 +0000 (06:12 +0200)
today.py

index 141376cd01688defef6eff0c26fe263e9b8bf298..470b2584365773220bcfa78000a65666cc5dd8d6 100755 (executable)
--- a/today.py
+++ b/today.py
@@ -233,7 +233,7 @@ def check_all():
         if type(n) != int:
             print n
         elif n > 0:
-            checks.append("%s : %s" % (comm, n))
+            checks.append("%s : %s (last : %s)" % (comm, n, news[thing]))
     checks = u"\n".join(checks)
     checks = add_title(u"Checks", checks)
     return checks