Skip to content

Commit 75cc4a5

Browse files
authored
Merge pull request #33 from marcstober/feature/midi-input-unicode
Feature/midi input unicode
2 parents 0baba86 + b324d9e commit 75cc4a5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

midi2abc.py

+5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
from simple_abc_parser import get_best_key_for_midi_notes, get_accidentals_for_key
3131
from io import StringIO
3232

33+
PY3 = sys.version_info.major > 2
34+
if PY3:
35+
def unicode(s):
36+
return s
37+
3338
num_quarter_notes_per_bar = 3
3439
bars_per_line = 4
3540

0 commit comments

Comments
 (0)