removed lines that did nothing
This commit is contained in:
parent
7a025bb18d
commit
71fb8cfd0c
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
|
|
||||||
import collections
|
import collections
|
||||||
import os
|
|
||||||
import string
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
|
@ -45,8 +43,6 @@ def main():
|
||||||
chapter_number = int(line[len(CHAPTER_MARKER):])
|
chapter_number = int(line[len(CHAPTER_MARKER):])
|
||||||
|
|
||||||
word_count_by_chapter[chapter_number] = 1 # Start at one, because the chapter number itself counts as a word.
|
word_count_by_chapter[chapter_number] = 1 # Start at one, because the chapter number itself counts as a word.
|
||||||
if chapter_number in status_by_chapter:
|
|
||||||
word_count_by_status[chapter_status] += 1
|
|
||||||
elif line.startswith(STATUS_MARKER):
|
elif line.startswith(STATUS_MARKER):
|
||||||
status_by_chapter[chapter_number] = line[len(STATUS_MARKER):].strip('()\n')
|
status_by_chapter[chapter_number] = line[len(STATUS_MARKER):].strip('()\n')
|
||||||
elif line.startswith(ACT_MARKER):
|
elif line.startswith(ACT_MARKER):
|
||||||
|
|
Loading…
Reference in New Issue