plint

French poetry validator
git clone https://a3nm.net/git/plint/
Log | Files | Refs | README

commit e6e1c9d4fb57d5d21ef70d738d6bfe820f2a5abb
parent dec2220a943290f87f84f83931b831b9e670be5e
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Thu, 11 Apr 2013 09:45:35 +0200

fix empty template handling

Diffstat:
template.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/template.py b/template.py @@ -42,7 +42,7 @@ class Template: self.check_occurrences = True self.diaeresis = "classical" self.mergers = [] - if string: + if string != None: self.load(string) self.line_no = 0 self.position = 0