Normally when a text file is created by exporting from epub, a chapter line like # Part 1 is inserted a few lines after the Title and Author lines. In a recent test I discovered that the script will crash if that line is missing.
The script should handle that gracefully by detecting that and inserting a chapter called blank or something like that.
Normally when a text file is created by exporting from epub, a chapter line like
# Part 1
is inserted a few lines after the Title and Author lines. In a recent test I discovered that the script will crash if that line is missing.The script should handle that gracefully by detecting that and inserting a chapter called
blank
or something like that.