diff --git a/novel_stats/novel_stats.py b/novel_stats/novel_stats.py index 3bc1034..86a7f61 100755 --- a/novel_stats/novel_stats.py +++ b/novel_stats/novel_stats.py @@ -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):