diff options
Diffstat (limited to 'kvmd/plugins/__init__.py')
-rw-r--r-- | kvmd/plugins/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kvmd/plugins/__init__.py b/kvmd/plugins/__init__.py index cdd683ff..ebdeaf0b 100644 --- a/kvmd/plugins/__init__.py +++ b/kvmd/plugins/__init__.py @@ -50,6 +50,8 @@ class BasePlugin: @functools.lru_cache() def get_plugin_class(sub: str, name: str) -> Type[BasePlugin]: + assert sub + assert name try: module = importlib.import_module(f"kvmd.plugins.{sub}.{name}") except ModuleNotFoundError: |