Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
VojtechStep committed Sep 15, 2023
1 parent 214f3d2 commit e3be3ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/preprocessors/git_authors.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ def add_author_info_to_chapter_rec_mut(roots, chapter, visited):

source_file_name = potential_source_file_name

header_info_element, footer_info_element = get_author_element_for_file(source_file_name)
header_info_element, footer_info_element = get_author_element_for_file(
source_file_name)
# Assumption: The title is the first header in the file
chapter_heading_start = chapter['content'].find('# ')
chapter_heading_end = chapter['content'].find('\n', chapter_heading_start)
Expand Down

0 comments on commit e3be3ec

Please sign in to comment.