]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/midi2ly.py
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / scripts / midi2ly.py
index a3b53d8fa244d743689cd624511ebd1596ec260d..256063d6795fdb60a0d6fabd1982c58bcc6686db 100644 (file)
@@ -1,4 +1,4 @@
-#!@PYTHON@
+#!@TARGET_PYTHON@
 #
 # msdi2ly.py -- LilyPond midi import script
 # 
@@ -25,7 +25,6 @@ import os
 import string
 import sys
 
-
 ################################################################
 # Users of python modules should include this snippet.
 #
@@ -237,11 +236,11 @@ class Note:
         key = global_options.key
         if key.minor:
             # as -> gis
-            if key.sharps == 0 and key.flats == 0 \
-             and n == 5 and a == -1:
+            if (key.sharps == 0 and key.flats == 0
+                and n == 5 and a == -1):
                 n = 4; a = 1
             # des -> cis
-               elif key.flats == 1 and n == 1 and a == -1:
+            elif key.flats == 1 and n == 1 and a == -1:
                 n = 0; a = 1
             # ges -> fis
             elif key.flats == 2 and n == 4 and a == -1: