Closed fpfeng closed 1 year ago
https://github.com/xenanetworks/open-automation-core/blob/1c94fe1f89e968648a73fad400e4c5bef0d939c6/xoa_core/controller.py#L48 register_lib should check if it is already added the path to avoid loading module multiple times.
This blocks code will not work if add a relative path because you always add a absolute path in self.__paths
Apply fix for v1 and v2
https://github.com/xenanetworks/open-automation-core/blob/1c94fe1f89e968648a73fad400e4c5bef0d939c6/xoa_core/controller.py#L48 register_lib should check if it is already added the path to avoid loading module multiple times.