Update Jarvis2.py

Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
Dasemu 2021-10-08 20:12:33 +02:00 committed by GitHub
parent a2d5789db9
commit 84113c1764
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,8 +148,9 @@ elif "email" in query:
server.close() server.close()
speak("Email sent!") speak("Email sent!")
except Exception: except Exception:
speak("Sorry Sir!") speak(
speak("I am unable to send your message at this moment!") "Sorry, Sir! I am unable to send your message at this moment!"
)
elif "nothing" in query or "abort" in query or "stop" in query: elif "nothing" in query or "abort" in query or "stop" in query:
speak("okay") speak("okay")