diff --git a/novel_stats/novel_stats.py b/novel_stats/novel_stats.py index 9b88db4..efc3aba 100755 --- a/novel_stats/novel_stats.py +++ b/novel_stats/novel_stats.py @@ -64,7 +64,6 @@ def main(): status_by_chapter[chapter_heading][current_status] = count_words(chapter_heading) else: current_status = line[len(STATUS_MARKER):].strip('()\n') - status_by_chapter[chapter_heading][current_status] += 0 elif line.startswith(ACT_MARKER): act_heading = line[len(ACT_MARKER):].strip('()\n') word_count_by_act[act_heading] = count_words(act_heading)