fixed #14 totally

This commit is contained in:
Tangent / Rose / Nebula Rosa 2024-11-05 21:58:18 -07:00
parent e1ef52ad69
commit dec4e24bf4

View File

@ -278,6 +278,8 @@ local function make_epub(config)
end end
local function rm_html_files(config) local function rm_html_files(config)
os.execute("sleep 1") -- attempt to fix #14
for section = config.sections.start, config.sections.finish do for section = config.sections.start, config.sections.finish do
local section_dir = "Sections" .. path_separator .. tostring(section) local section_dir = "Sections" .. path_separator .. tostring(section)
os.execute("rm " .. section_dir .. ".html") os.execute("rm " .. section_dir .. ".html")