X-Git-Url: http://gitweb.pimeys.fr/?p=today.git;a=blobdiff_plain;f=today.py;h=6d28b1fe591d7d4486be9640697ac08ef2e21457;hp=c3f36295ec53afe20d457a5a9987e2e54f96ccc7;hb=479dd5f028cd121537b94ce2d87ef56619191a0f;hpb=351bfd36ac35e89494d696987486e093425371f0 diff --git a/today.py b/today.py index c3f3629..6d28b1f 100755 --- a/today.py +++ b/today.py @@ -159,6 +159,8 @@ def get_birthdays(*search): def _parse_saint(s): """Renvoie la liste des fêtes contenue dans un jour""" l = s.split(",") + if l == [""]: + l = [] ll = [] for st in l: if st[0] == "&":