get_option returns an empty string instead of the default value, because if comic_info.has_option(section, option) evaluates to true (as the comic_info.ini file does have both a "Transcripts" section and a "Transcripts folder" option. But the code doesn't check to make sure a value is actually set, so it returns the empty string/null value that is there.
This can be fixed by removing the Transcripts folder= line entirely, or by adding another check to the get_option function to make sure properties have a non-null value, and returning the default if not.
Transcripts will not appear if the following option in comic_info.ini does not have a value:
Transcripts folder =
(Note, this is how it's set in the default comic_git build.)
This problem is caused by this bit of build_site.py:
get_option
returns an empty string instead of the default value, becauseif comic_info.has_option(section, option)
evaluates to true (as the comic_info.ini file does have both a "Transcripts" section and a "Transcripts folder" option. But the code doesn't check to make sure a value is actually set, so it returns the empty string/null value that is there.This can be fixed by removing the
Transcripts folder=
line entirely, or by adding another check to theget_option
function to make sure properties have a non-null value, and returning the default if not.