Skip to content

a minor error in code #5

@eveliao

Description

@eveliao

in chapterize.py line 173
endLocation = len(self.lines)-1 # The end

I think it's better set as len(self.lines)
because if we can't detect the end location, the last line could possibly be part of the book and shouldn't be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions