From: W. Trevor King Date: Fri, 30 Dec 2011 20:20:48 +0000 (-0500) Subject: abc2midi options inserted *after* the input filename and refnum in abcplay.py. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=688d79d26c079a52e5ddce4a1ff2d74ee0df7e67;p=mw2txt.git abc2midi options inserted *after* the input filename and refnum in abcplay.py. --- 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