修复相对路径错误

This commit is contained in:
UnCLAS-Prommer
2025-06-16 11:14:54 +08:00
parent b8c4db884a
commit a1037e8960

View File

@@ -6,7 +6,7 @@ from typing import Any, Dict, List
from .lpmmconfig import INVALID_ENTITY, global_config
ROOT_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", "..", ".."))
ROOT_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..", ".."))
def _filter_invalid_entities(entities: List[str]) -> List[str]: