mirror of
https://gitee.com/openharmony/testfwk_xdevice
synced 2024-11-23 07:20:44 +00:00
优化-module_config path命令
Signed-off-by: deveco_xdevice <liguangjie1@huawei.com>
This commit is contained in:
parent
bbbdb057e9
commit
2188e1b3f3
@ -245,7 +245,8 @@ class DriversThread(threading.Thread):
|
||||
if self.environment is None:
|
||||
return
|
||||
|
||||
if hasattr(driver_request.config, ConfigConst.module_config):
|
||||
if hasattr(driver_request.config, ConfigConst.module_config) and \
|
||||
getattr(driver_request.config, ConfigConst.module_config, None):
|
||||
module_config_path = getattr(driver_request.config, ConfigConst.module_config, None)
|
||||
LOG.debug("Common module config path: {}".format(module_config_path))
|
||||
from xdevice import Variables
|
||||
|
Loading…
Reference in New Issue
Block a user