Skip to content

Commit

Permalink
Lint python
Browse files Browse the repository at this point in the history
  • Loading branch information
petesfrench committed Feb 21, 2023
1 parent d7923a9 commit a4f5431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canonicalwebteam/discourse/parsers/docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ def _generate_headings_map(self, soup):
current_list = headings_map
previous_tag = None

headings = soup.find_all(["h2","h3"])
headings = soup.find_all(["h2", "h3"])

for heading in headings:
current_tag = re.findall(r"\d", heading.name)[0]
Expand Down

0 comments on commit a4f5431

Please sign in to comment.