songleash

generate chansons en laisse
git clone https://a3nm.net/git/songleash/
Log | Files | Refs

commit 8c2e16b90ac3425bd3428904742e6d1965b7c60d
parent 1af10c4da687379d5ea75882afeac0bde963c081
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Thu, 27 Aug 2015 02:26:28 +0200

fix non-songmode

Diffstat:
printcycle.py | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/printcycle.py b/printcycle.py @@ -27,6 +27,9 @@ def print_list(l): spl2 = fs[0] + ssep + fs[1] + ssep + ''.join(fs[2:]) else: spl2 = spl + if not songmode: + spl = w[0] + spl2 = w[0] sep = '' if songmode else ',' print ("%s%s %s%s %s%s %s%s %s" % (spl, sep, spl, sep, spl2, sep, end, sep, end))