commit 3fa1afc53b677a5b749d481ecf414e75d6d2481b
parent 2ea2202b7c832e2151330daf7c64b7d577428677
Author: Antoine Amarilli <a3nm@a3nm.net>
Date: Tue, 27 Oct 2020 20:57:17 +0100
remove old code making it impossible to disable classical rhymes
thx Milton
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/plint/template.py b/plint/template.py
@@ -112,8 +112,6 @@ class Template:
constraint = []
if len(constraint) == 0:
n_common_suffix_phones = 1
- if len(constraint) < 2:
- classical = True
return Pattern(metric, my_id, feminine_id, rhyme.Constraint(classical, n_common_suffix_phones))
def match(self, line, output_file=None, last=False, n_syllables=None, offset=0):