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)
|
status_by_chapter[chapter_heading][current_status] = count_words(chapter_heading)
|
||||||
else:
|
else:
|
||||||
current_status = line[len(STATUS_MARKER):].strip('()\n')
|
current_status = line[len(STATUS_MARKER):].strip('()\n')
|
||||||
status_by_chapter[chapter_heading][current_status] += 0
|
|
||||||
elif line.startswith(ACT_MARKER):
|
elif line.startswith(ACT_MARKER):
|
||||||
act_heading = line[len(ACT_MARKER):].strip('()\n')
|
act_heading = line[len(ACT_MARKER):].strip('()\n')
|
||||||
word_count_by_act[act_heading] = count_words(act_heading)
|
word_count_by_act[act_heading] = count_words(act_heading)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user