]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/midi2ly.py
Update a comment.
[lilypond.git] / scripts / midi2ly.py
index be99ae797772e02be54610ec8576a57b3946c75c..e0a00ae170310a5a9d40a8d92a60f86b7db8a443 100644 (file)
@@ -801,7 +801,7 @@ def convert_midi (in_file, out_file):
     global  duration_quant_clocks
     global allowed_tuplet_clocks
 
-    str = open (in_file).read ()
+    str = open (in_file, 'rb').read ()
     midi_dump = midi.parse (str)
     
     clocks_per_1 = midi_dump[0][1]