plint

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

commit 6ee015ea032c67f234293f680dd1ea6a749723f0
parent 6912dc4a14b4009d1dd8a74ff3384fb59902bbb6
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sun, 27 Jul 2014 18:32:51 +0200

fix debug printing for web frontend

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

diff --git a/plint_web.py b/plint_web.py @@ -105,6 +105,7 @@ def q(lang): localization.init_locale(lang) poem = request.forms.get('poem') poem = re.sub(r'<>&', '', request.forms.get('poem')) + print(poem) poem = check(poem) if not poem: if lang == 'fr': @@ -135,7 +136,6 @@ def q(lang): else: msg = "Error when reading template: " + e.msg return dumps({'error': msg}) - print(x) poem.append(None) r = [] i = 0