Skip to content

Commit c89aae7

Browse files
committed
misc: removed unused import
Signed-off-by: habeck <habeck@us.ibm.com>
1 parent e989bb4 commit c89aae7

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

cpex/framework/isolated/worker.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
from cpex.framework.base import HookRef, Plugin, PluginRef
2424
from cpex.framework.constants import HOOK_TYPE
25-
from cpex.framework.loader.config import ConfigLoader
2625
from cpex.framework.loader.plugin import ALLOWED_PLUGIN_DIRS
2726
from cpex.framework.manager import PluginExecutor
2827
from cpex.framework.models import PluginConfig, PluginContext
@@ -115,7 +114,7 @@ async def process_task(task_data, tp: TaskProcessor):
115114
plugin_ref = PluginRef(plugin)
116115
hook_ref = HookRef(hook_type, plugin_ref)
117116
executor = PluginExecutor(None, 30)
118-
tp.initialize(hook_ref=hook_ref, executor=executor, json_config=json_config, module_path=module_path)
117+
tp.initialize(hook_ref=hook_ref, executor=executor, json_config=json_config, module_path=resolved_module_path)
119118
# retrieve the context
120119
context = task_data.get("context")
121120
plugin_context = PluginContext(

0 commit comments

Comments
 (0)