crewAIInc / crewAI-tools

MIT License
619 stars 205 forks source link

Possible redudant code #26

Closed Zyzzx closed 6 months ago

Zyzzx commented 6 months ago

https://github.com/joaomdmoura/crewAI-tools/blob/9181d05c4c8bd8771bf01fb74ada5ca3f687c37e/crewai_tools/tools/selenium_scraping_tool/selenium_scraping_tool.py#L58-L60

The function is called without iterating before it is called again and iterated upon. Not sure if there is are reason to have such a redundant pattern. It doesn't break anything, but it is odd.

joaomdmoura commented 6 months ago

Good catch, probably a TYPO, fixing it