From 9615b037a9ca58c549a529eaa3543309af37e5fd Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 18 Mar 2013 10:53:41 -0500 Subject: [PATCH] python/lib/aubio/midiconv.py: note2midi improve error message --- python/lib/aubio/midiconv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lib/aubio/midiconv.py b/python/lib/aubio/midiconv.py index 445afd89..1ce6e68e 100644 --- a/python/lib/aubio/midiconv.py +++ b/python/lib/aubio/midiconv.py @@ -28,7 +28,7 @@ def note2midi(note): if notename not in _valid_notenames: raise ValueError, "%s is not a valid note name" % notename if modifier not in _valid_modifiers: - raise ValueError, "only # and b are acceptable modifiers, not %s" % modifier + raise ValueError, "%s is not a valid modifier" % modifier if octave not in _valid_octaves: raise ValueError, "%s is not a valid octave" % octave -- 2.26.2