- try:
- command = recognizer.recognize_google(speech)
- print('[%s] >>>>>>>>>>>>> Google says command was %s' % (
- str(datetime.now()), command)
- )
- except Exception:
- command = 'weather'
+ command = recognizer.recognize_google(speech)
+ print('[%s] >>>>>>>>>>>>> Google says command was %s' % (
+ str(datetime.now()), command)
+ )