From bb5ee606f8d8bd77149e827a0bf1f8b52038919d Mon Sep 17 00:00:00 2001 From: Louis Date: Sat, 23 Aug 2014 16:41:25 +0200 Subject: [PATCH] Closes #59 --- patacrep/plastex_chord.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patacrep/plastex_chord.py b/patacrep/plastex_chord.py index 149d956b..dba9f36c 100644 --- a/patacrep/plastex_chord.py +++ b/patacrep/plastex_chord.py @@ -110,7 +110,7 @@ def parse_until(tex, end=lambda x: False): break elif isinstance(token, plasTeX.Base.Text.bgroup): #pylint: disable=no-member # pylint: disable=expression-not-assigned - [token.appendChild(item) for item in parse_until(tex, match_egroup)] + [token.appendChild(item) for item in parse_until(tex, match_egroup)[0]] parsed.append(token) return (parsed, last)