removed lines that did nothing

This commit is contained in:
Dmytro Yeroshkin 2021-10-22 10:36:11 +02:00
parent 7a025bb18d
commit 71fb8cfd0c
1 changed files with 0 additions and 4 deletions

View File

@ -2,8 +2,6 @@
import collections
import os
import string
import sys
@ -45,8 +43,6 @@ def main():
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.
if chapter_number in status_by_chapter:
word_count_by_status[chapter_status] += 1
elif line.startswith(STATUS_MARKER):
status_by_chapter[chapter_number] = line[len(STATUS_MARKER):].strip('()\n')
elif line.startswith(ACT_MARKER):