Skip to content

Commit

Permalink
Flake8 : whitespace fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Lapouyade committed Nov 12, 2024
1 parent 65e00b1 commit 60caff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docxtpl/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def render_xml_part(self, src_xml, part, context, jinja_env=None):
line_number = max(exc.lineno - 4, 0)
exc.docx_context = map(
lambda x: re.sub(r"<[^>]+>", "", x),
src_xml.splitlines()[line_number : (line_number + 7)],
src_xml.splitlines()[line_number: (line_number + 7)], # fmt: skip
)

raise exc
Expand Down

0 comments on commit 60caff8

Please sign in to comment.