Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PoroCYon
oidos
Commits
070cf8b4
Commit
070cf8b4
authored
Apr 04, 2017
by
Aske Simon Christensen
Browse files
Use file name without path as instrument name
parent
0e4d3293
Changes
1
Hide whitespace changes
Inline
Side-by-side
convert/OidosUpgrade.py
View file @
070cf8b4
...
...
@@ -51,7 +51,7 @@ elif infile.endswith(".xrni"):
info
=
zfile
.
getinfo
(
"Instrument.xml"
)
x
=
XML
.
makeXML
(
zfile
.
read
(
info
))
xinstrs
=
x
.
RenoiseInstrument
name
=
infile
[:
-
5
]
name
=
infile
[
infile
.
rfind
(
'/'
)
+
1
:
-
5
]
else
:
print
"Unknown file extension: "
+
infile
sys
.
exit
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment