From 897af8d3f93879fcb4877ec136f059909c87eaa1 Mon Sep 17 00:00:00 2001 From: "Delia-Florenta Manea (manead)" Date: Wed, 22 Nov 2017 12:49:39 +0000 Subject: [PATCH] Update determineUserInput.py --- determineUserInput.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/determineUserInput.py b/determineUserInput.py index 16201c2..4b373e2 100644 --- a/determineUserInput.py +++ b/determineUserInput.py @@ -196,7 +196,7 @@ def executeCan(sentence): response = "Today is " + calendar.day_name[my_date.weekday()] elif "what month" in sentence: response = "It is " + datetime.now().strftime("%B") - elif "what year it it" in sentence: + elif "what year is it" in sentence: response = "It is " + datetime.now().year elif "something about you" in sentence: response = "I'm an inteligent chatbot. "