Update Jarvis2_4windows.py

This commit is contained in:
TallGorilla 2021-10-09 12:46:14 +02:00
parent 6b701ce3c7
commit a4bed18e5b

View File

@ -37,7 +37,6 @@ popular_websites = {
def main(search_engine, take_command, debug): def main(search_engine, take_command, debug):
while True: while True:
try:
query = take_command() query = take_command()
# logic for executing commands without arguments # logic for executing commands without arguments
@ -86,8 +85,6 @@ def main(search_engine, take_command, debug):
change_volume(query, take_command) change_volume(query, take_command)
speak("Next Command! Sir!") speak("Next Command! Sir!")
except Exception:
pass
def run(): def run():