Skip to content

Commit 807e9f8

Browse files
committed
Fix flake8 complaints
Signed-off-by: M Q <mingmelvinq@nvidia.com>
1 parent faec441 commit 807e9f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/deploy/core/models/triton_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def parse_triton_config_pbtxt(pbtxt_path) -> ModelConfig:
5151
return model_config
5252

5353
except Exception as e:
54-
raise ValueError(f"Failed to parse config file {pbtxt_path}: {str(e)}")
54+
raise ValueError(f"Failed to parse config file {pbtxt_path}") from e
5555

5656

5757
class TritonModel(Model):

0 commit comments

Comments
 (0)