Skip to content

Commit

Permalink
nopth
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Feb 12, 2024
1 parent 596b227 commit 0794a85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion papyri/ts.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
)

allowed_adorn = "=-`:.'\"~^_*+#<>"
pth = str(Path(__file__).parent / "rst.so")

try:
from tree_sitter_languages import get_language, get_parser
Expand All @@ -55,6 +54,7 @@
try:
from tree_sitter import Language, Parser

pth = str(Path(__file__).parent / "rst.so")
RST = Language(pth, "rst")
except OSError as e:
raise OSError(
Expand Down

0 comments on commit 0794a85

Please sign in to comment.