mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-24 06:07:29 +01:00
Tweak PR 269 for portable file-path
This commit is contained in:
parent
cf0d06c137
commit
37f7d7595c
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ function factory (unused_params) return function ()
|
|||
table.insert(chaps, "00:00:00.000 Intro\n")
|
||||
table.sort(chaps)
|
||||
|
||||
file = io.open(string.format("%s/export/mp4chaps.txt", Session:path()), "w")
|
||||
file = io.open(ARDOUR.LuaAPI.build_filename (Session:path(), "export", "mp4chaps.txt"), "w")
|
||||
for i, line in ipairs(chaps) do
|
||||
file:write(line)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue