plint

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

commit 84fdc3b37587581282bfa8c052699634632a348c
parent 962edb6239894247ef9f41c9d31570679b6af27f
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Tue,  2 Aug 2011 13:22:52 -0400

fix handling of /me during calls

Diffstat:
boilint.py | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/boilint.py b/boilint.py @@ -56,8 +56,11 @@ def run(): continue # ignore non-poem lines if first == '/me': # always accept actions - print(' '.join(l[1:]), file=f) - f.flush() + if len(lbuf) > 0: + lbuf.append(l) + else: + print(' '.join(l[1:]), file=f) + f.flush() continue if first[0] == '/': continue # ignore other commands