This commit is contained in:
parent
c8651856a0
commit
bd875013b2
@ -91,7 +91,9 @@ def main():
|
||||
if current_status is None:
|
||||
current_status = line[len(STATUS_MARKER) :].strip('()\n')
|
||||
if chapter_heading:
|
||||
status_by_chapter[chapter_heading][current_status] = count_words(chapter_heading)
|
||||
status_by_chapter[chapter_heading][current_status] = count_words(
|
||||
chapter_heading
|
||||
)
|
||||
else:
|
||||
current_status = line[len(STATUS_MARKER) :].strip('()\n')
|
||||
elif line.startswith(ACT_MARKER):
|
||||
|
Loading…
x
Reference in New Issue
Block a user