forked from witten/novel-stats
Fix formatting.
This commit is contained in:
parent
c8651856a0
commit
bd875013b2
|
@ -91,7 +91,9 @@ def main():
|
||||||
if current_status is None:
|
if current_status is None:
|
||||||
current_status = line[len(STATUS_MARKER) :].strip('()\n')
|
current_status = line[len(STATUS_MARKER) :].strip('()\n')
|
||||||
if chapter_heading:
|
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:
|
else:
|
||||||
current_status = line[len(STATUS_MARKER) :].strip('()\n')
|
current_status = line[len(STATUS_MARKER) :].strip('()\n')
|
||||||
elif line.startswith(ACT_MARKER):
|
elif line.startswith(ACT_MARKER):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user