Skip to content

Commit daf9a5e

Browse files
author
George Papa
committed
Resolve issue ggeop#11
1 parent f89fd0d commit daf9a5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jarvis/jarvis/action_manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def open_website_in_browser(cls, words):
1717
Opens a web page in the browser.
1818
:param words: string (e.g Open the site youtube)
1919
"""
20-
reg_ex = re.search(TRIGGERING_WORDS['open_browser'] + ' (.+)', words)
20+
reg_ex = re.search(TRIGGERING_WORDS['open_browser'] + ' ([a-zA-Z]+)', words)
2121
if reg_ex:
2222
domain = reg_ex.group(1)
2323
assistant_response('Yes sir, I will open the {0}'.format(domain))

0 commit comments

Comments
 (0)