Skip to content

Commit e121155

Browse files
committed
sem
1 parent e032f6e commit e121155

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tools/model_converter/model_converter.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,9 @@ def load_model_class(
128128
try:
129129
module_path, class_name = class_path.rsplit(".", 1)
130130
self.logger.debug(f"Importing module: {module_path}")
131-
module = (
132-
importlib.import_module( # nosemgrep: python.lang.security.audit.non-literal-import.non-literal-import
133-
module_path,
134-
)
131+
# nosemgrep: python.lang.security.audit.non-literal-import.non-literal-import
132+
module = importlib.import_module(
133+
module_path,
135134
)
136135
model_class = getattr(module, class_name)
137136
self.logger.debug(f"Loaded class: {class_name}")

0 commit comments

Comments
 (0)