diff --git a/unblob/plugins.py b/unblob/plugins.py index aa40b34fae..252b965aaf 100644 --- a/unblob/plugins.py +++ b/unblob/plugins.py @@ -55,7 +55,7 @@ def import_path(self, path: Path): if path.is_file(): module_name = path.stem to_import = [(module_name, path)] - elif path.is_dir: + elif path.is_dir(): to_import = [(p.parent.name, p) for p in path.glob("*/__init__.py")] to_import.extend((p.stem, p) for p in path.glob("*.py")) else: