Remove unnecessary initialization.
This commit is contained in:
parent
57724e65df
commit
fd382924d0
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user