Commit 070cf8b4 authored by Aske Simon Christensen's avatar Aske Simon Christensen
Browse files

Use file name without path as instrument name

parent 0e4d3293
......@@ -51,7 +51,7 @@ elif infile.endswith(".xrni"):
info = zfile.getinfo("Instrument.xml")
x = XML.makeXML(
xinstrs = x.RenoiseInstrument
name = infile[:-5]
name = infile[infile.rfind('/')+1:-5]
print "Unknown file extension: " + infile
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment