From 00d8c70e319dbc5374b9dd30bf63284909ffa6ab Mon Sep 17 00:00:00 2001 From: Alexis Koralewski Date: Thu, 31 Aug 2023 15:04:56 +0200 Subject: [PATCH] fix default path to import vendor --- src/core/pyros_django/dashboard/config_pyros.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/pyros_django/dashboard/config_pyros.py b/src/core/pyros_django/dashboard/config_pyros.py index e9563a9..47b181d 100644 --- a/src/core/pyros_django/dashboard/config_pyros.py +++ b/src/core/pyros_django/dashboard/config_pyros.py @@ -5,8 +5,7 @@ import time import pykwalify.core from pykwalify.errors import SchemaError -sys.path.append(os.environ.get("PROJECT_ROOT_PATH", "../../../../")) - +sys.path.append(os.environ.get("PROJECT_ROOT_PATH", os.path.join(os.getcwd(),"../../../"))) from vendor.guitastro.src.guitastro import FileNames -- libgit2 0.21.2