Mercurial > dottes
diff abcfield.py @ 701:972d3dab1142
Nerys next: L'Inconnu de Limoise.
No chords. Also fix up title field display to not put a space between
items if 'The' item isn't all alphanumeric. So , L' works.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Sun, 24 Sep 2017 23:12:03 +0100 |
parents | 82e818c41e81 |
children | f620323ff96d |
line wrap: on
line diff
--- a/abcfield.py Mon Sep 18 22:30:16 2017 +0100 +++ b/abcfield.py Sun Sep 24 23:12:03 2017 +0100 @@ -137,7 +137,9 @@ if p[1] == "": return t else: - return p[2].strip() + " " + p[0].strip() + first = p[2].strip() + second = p[0].strip() + return (first + " " if first.isalnum() else first) + second # Convert Key field from ABC to display, so G#dor->G# Dorian. def convertKeyToDisplay(t):