mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 04:07:52 +00:00
importlib refactor ../ typo
This commit is contained in:
@@ -106,7 +106,7 @@ if sys.version_info[0] != 3:
|
|||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
if 'lanforge-scripts' not in sys.path:
|
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_manager = importlib.import_module("lanforge-scripts.py-json.cv_test_manager")
|
||||||
cv_test = cv_test_manager.cv_test
|
cv_test = cv_test_manager.cv_test
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ if sys.version_info[0] != 3:
|
|||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
if 'lanforge-scripts' not in sys.path:
|
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 *
|
from InfluxRequest import *
|
||||||
InfluxRequest = importlib.import_module("lanforge-scripts.py-dashboard.InfluxRequest")
|
InfluxRequest = importlib.import_module("lanforge-scripts.py-dashboard.InfluxRequest")
|
||||||
|
|||||||
Reference in New Issue
Block a user