board-inspector: Fix sys.path for all internal modules

Tracked-On: #6688
Signed-off-by: Helmut Buchsbaum <helmut.buchsbaum@opensource.tttech-industrial.com>
This commit is contained in:
Helmut Buchsbaum 2022-04-07 11:53:36 +02:00 committed by acrnsi-robot
parent d22c651ed1
commit d3d0cba778
1 changed files with 1 additions and 1 deletions

View File

@ -14,11 +14,11 @@ import lxml.etree
import argparse
from collections import namedtuple
from importlib import import_module
from cpuparser import parse_cpuid, get_online_cpu_ids, get_offline_cpu_ids
script_dir = os.path.dirname(os.path.realpath(__file__))
sys.path.append(os.path.join(script_dir))
from cpuparser import parse_cpuid, get_online_cpu_ids, get_offline_cpu_ids
from inspectorlib import validator
class AddLLCCATAction(argparse.Action):