Skip to content

Commit

Permalink
hotfix_open
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasDemuth authored Feb 14, 2024
1 parent af3d6c4 commit 19ca402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speech_assistent.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def type_text(text):
def open_first_google_result(query):
try:
# get first google-search link
search_results = search(query, num_results=1)
search_results = search(query, num=1,stop=1)

# extracting
first_link = next(search_results, None)
Expand Down

0 comments on commit 19ca402

Please sign in to comment.