From 0d726c0e324dcb3604dff72d9857135863b3e74e Mon Sep 17 00:00:00 2001 From: vasilije Date: Sun, 12 Oct 2025 11:09:43 +0200 Subject: [PATCH] small linting issues --- cognee/api/v1/add/add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cognee/api/v1/add/add.py b/cognee/api/v1/add/add.py index 35746cc6b..cbb1c8fd5 100644 --- a/cognee/api/v1/add/add.py +++ b/cognee/api/v1/add/add.py @@ -198,7 +198,7 @@ async def add( node_set = ["web_content"] if not node_set else node_set + ["web_content"] elif isinstance(data, list) and any(_is_http_url(item) for item in data): node_set = ["web_content"] if not node_set else node_set + ["web_content"] - except ImportError: + except NameError: logger.debug(f"Unable to import {str(ImportError)}") pass