]> git.donarmstrong.com Git - lilypond.git/commitdiff
MusicXML: Fix filename for pipe-through operation
authorReinhold Kainhofer <reinhold@kainhofer.com>
Tue, 8 Jun 2010 12:22:54 +0000 (14:22 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Tue, 8 Jun 2010 16:26:57 +0000 (18:26 +0200)
scripts/musicxml2ly.py

index 6b8214fd96123c19071c754317ffbaed6ffd5064..88058b17d01eea5341de741ffed52300c1c50252 100644 (file)
@@ -3007,7 +3007,7 @@ def main ():
     # Allow the user to leave out the .xml or xml on the filename
     basefilename = args[0].decode('utf-8')
     if basefilename == "-": # Read from stdin
-        basefilename = "-"
+        filename = "-"
     else:
         filename = get_existing_filename_with_extension (basefilename, "xml")
         if not filename: