From 3daaa8ac83d468888d7467bd04b9a6ade7fb1135 Mon Sep 17 00:00:00 2001 From: minhna1112 Date: Mon, 1 Jul 2024 11:11:23 +0700 Subject: [PATCH] Fix indentation --- src/codetext/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codetext/utils/utils.py b/src/codetext/utils/utils.py index 98d57e5..5975897 100644 --- a/src/codetext/utils/utils.py +++ b/src/codetext/utils/utils.py @@ -104,7 +104,7 @@ def parse_code(raw_code: str, language: str='Auto', tree_sitter_path: str=None) if not os.path.exists(ts_lang_path): logger.warning(f"Not found `{language}.so` in `{load_path}/tree-sitter/`, attemp to build language") build_language(language, load_path) - language = Language(load_path + f"/tree-sitter/{language}.so", language) + language = Language(load_path + f"/tree-sitter/{language}.so", language) parser.set_language(language) if isinstance(raw_code, str):