removed junk if

This commit is contained in:
VinciGit00 2024-04-02 12:57:27 +02:00
parent db6d988b2d
commit b53bfefeea

View File

@ -33,6 +33,5 @@ def search_word_on_web(word: str, web_browser: str = "Google", max_results: int
links = re.findall(r'https?://\S+', res)
return links
else:
raise ValueError(
"The only web browsers avaiable are DuckDuckGo or Google")
raise ValueError(
"The only web browsers avaiable are DuckDuckGo or Google")