From 688d79d26c079a52e5ddce4a1ff2d74ee0df7e67 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 30 Dec 2011 15:20:48 -0500 Subject: [PATCH] abc2midi options inserted *after* the input filename and refnum in abcplay.py. --- posts/abcplay/abcplay.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/posts/abcplay/abcplay.py b/posts/abcplay/abcplay.py index b069e8b..77fb3a2 100755 --- a/posts/abcplay/abcplay.py +++ b/posts/abcplay/abcplay.py @@ -134,7 +134,8 @@ class ABCPlayer (MIDIPlayer): def _convert_to_midi(self, filename, refnum): self._p = Popen( - self._to_midi + [filename, str(refnum), '-o', self._tempfile]) + self._to_midi[:1] + [filename, str(refnum)] + + self._to_midi[1:] + ['-o', self._tempfile]) self._p.wait() self._p = None -- 2.26.2