From fd382924d0f5128f97df8d1e47b7b6fd445913e4 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Fri, 22 Oct 2021 13:09:40 -0700 Subject: [PATCH] Remove unnecessary initialization. --- novel_stats/novel_stats.py | 1 - 1 file changed, 1 deletion(-) 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)