diff --git a/novel_stats/novel_stats.py b/novel_stats/novel_stats.py index 8452ffe..5e8bae9 100755 --- a/novel_stats/novel_stats.py +++ b/novel_stats/novel_stats.py @@ -91,7 +91,9 @@ def main(): if current_status is None: current_status = line[len(STATUS_MARKER) :].strip('()\n') if chapter_heading: - status_by_chapter[chapter_heading][current_status] = count_words(chapter_heading) + status_by_chapter[chapter_heading][current_status] = count_words( + chapter_heading + ) else: current_status = line[len(STATUS_MARKER) :].strip('()\n') elif line.startswith(ACT_MARKER):