Skip to content

Commit

Permalink
update lib/py_edge_interface
Browse files Browse the repository at this point in the history
Co-authored-by: flxdot <flxdot@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and flxdot committed Apr 18, 2024
1 parent e7e08a3 commit 22493ae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/py_edge_interface/carlos/edge/interface/device/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ def _validate_module(cls, value):
try:
importlib.import_module(abs_module)
except ModuleNotFoundError: # pragma: no cover
raise ValueError(
f"The module {value} ({abs_module}) does not exist."
)
raise ValueError(f"The module {value} ({abs_module}) does not exist.")
value = abs_module

return value
Expand Down

0 comments on commit 22493ae

Please sign in to comment.