Skip to content

Commit 08a2c29

Browse files
committed
_markdown: Don’t use bare except
See https://www.flake8rules.com/rules/E722.html
1 parent a91e444 commit 08a2c29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tex2lambda/filters/_markdown.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def markdown_converter(
113113
case pf.Math:
114114
try:
115115
expression = latex_to_katex(elem.text)
116-
except:
116+
except Exception:
117117
expression = elem.text
118118
return pf.Str(
119119
f"${expression}$"

0 commit comments

Comments
 (0)