mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 19:28:00 +00:00
importlib refactor ../ typo
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user