Skip to content

Commit f589569

Browse files
fix: Fix bad call to has_latex_package (#11)
Follow up #10
1 parent bb8896b commit f589569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sphinxnotes/strike/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def setup(app: Sphinx):
8181
latex_packages = ('ulem', 'normalem')
8282
for latex_package in latex_packages:
8383
# If the package is already added and we add it again, Sphinx will warn.
84-
if not app.has_latex_package(latex_package):
84+
if not app.registry.has_latex_package(latex_package):
8585
app.add_latex_package(latex_package)
8686

8787
app.add_node(

0 commit comments

Comments
 (0)