summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPhil Holmes <mail@philholmes.net>2012-08-31 17:48:55 +0100
committerPhil Holmes <mail@philholmes.net>2012-09-01 16:21:36 +0100
commit5a3e62fdcaa01c295f2c5a5d1d47f81752ac7e7f (patch)
treeb7f0ac5a3cf70d73cd221db005a6d40c5a30c31c /scripts
parent38b47996485336eb01d9698f3f52e36f6bb9b0af (diff)
Fixes bug in abc2ly and abc2ly regtest
Diffstat (limited to 'scripts')
-rw-r--r--scripts/abc2ly.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/abc2ly.py b/scripts/abc2ly.py
index d04068fa31..60900ca831 100644
--- a/scripts/abc2ly.py
+++ b/scripts/abc2ly.py
@@ -433,6 +433,8 @@ key_lookup = { # abc to lilypond key mode names
}
def lily_key (k):
+ if k == 'none':
+ return
orig = "" + k
# UGR
k = k.lower ()