plint

French poetry validator (local mirror of https://gitlab.com/a3nm/plint)
git clone https://a3nm.net/git/plint/
Log | Files | Refs | README

commit 9ce71bf64c863aa4388d04853520a6c7ee9d5ac2
parent 43c47cddbb4b9378808c4365f29055661286b751
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Tue, 29 Jan 2013 23:07:55 +0100

fix bug

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

diff --git a/plint_web.py b/plint_web.py @@ -86,7 +86,7 @@ def q(): poem = check(d['poem']) if not poem: return env.get_template('error.html').render(**d) - if not re.match("^[a-z]+$", d['template']): + if not re.match("^[a-z_]+$", d['template']): return env.get_template('error.html').render(**d) if d['template'] == 'custom': x = request.forms.get('custom_template')