chore: update path in scripts

This commit is contained in:
NateScarlet
2022-12-09 16:59:37 +08:00
parent 747966e6db
commit 946c5b4112
3 changed files with 13 additions and 18 deletions

View File

@@ -4,7 +4,7 @@ import os
__dirname__ = os.path.abspath(os.path.dirname(__file__))
def workspace_path(*other):
def _file_path(*other):
return os.path.join(os.path.dirname(__dirname__), *other)
return os.path.abspath(os.path.join(__dirname__, *other))