]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/musicxml2ly.py
MusicXML: Fix filename for pipe-through operation
[lilypond.git] / 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: