From 78aff9dbdcfa92334377b6894d9982ef29d54adb Mon Sep 17 00:00:00 2001 From: Lorenze Jay Date: Mon, 13 Jan 2025 10:45:12 -0800 Subject: [PATCH] fix no client err --- .../tools/scrapegraph_scrape_tool/scrapegraph_scrape_tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crewai_tools/tools/scrapegraph_scrape_tool/scrapegraph_scrape_tool.py b/src/crewai_tools/tools/scrapegraph_scrape_tool/scrapegraph_scrape_tool.py index 57c81aabe..86ea546d4 100644 --- a/src/crewai_tools/tools/scrapegraph_scrape_tool/scrapegraph_scrape_tool.py +++ b/src/crewai_tools/tools/scrapegraph_scrape_tool/scrapegraph_scrape_tool.py @@ -181,4 +181,4 @@ class ScrapegraphScrapeTool(BaseTool): raise RuntimeError(f"Scraping failed: {str(e)}") finally: # Always close the client - self.client.close() + self._client.close()