diff --git a/deepfinder/deep_find.py b/deepfinder/deep_find.py index effa22a..2ab64a2 100644 --- a/deepfinder/deep_find.py +++ b/deepfinder/deep_find.py @@ -46,8 +46,6 @@ def _rec_helper(obj: Any, path: list[str]) -> Any: if hasattr(obj, '__dict__') and current_path in vars(obj): return _rec_helper(vars(obj)[current_path], path) - return - def _rec_list_helper(obj: list[Any], path: list[str], current_path: str): if current_path == '*':