You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: