importlib refactor ../ typo

This commit is contained in:
erinnerim
2021-09-10 15:30:18 -07:00
parent aa2e67432b
commit 34afad944f
2 changed files with 2 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ if sys.version_info[0] != 3:
exit(1)
if 'lanforge-scripts' not in sys.path:
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../")))
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../../")))
cv_test_manager = importlib.import_module("lanforge-scripts.py-json.cv_test_manager")
cv_test = cv_test_manager.cv_test

View File

@@ -62,7 +62,7 @@ if sys.version_info[0] != 3:
exit(1)
if 'lanforge-scripts' not in sys.path:
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../")))
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../../")))
from InfluxRequest import *
InfluxRequest = importlib.import_module("lanforge-scripts.py-dashboard.InfluxRequest")