Closed dyphire closed 1 year ago
Did you encounter an issue that required a check for nil within mark_chapter function?
When use mark_*_as_chapter=yes
option, If the log_file
does not exist, the script will crash due to nil values.
The pr will fix this bug.
The check needs an additional or statement for list_contents[1]:
if not list_contents or not list_contents[1] then return end
Done.
Did you encounter an issue that required a check for nil within mark_chapter function?