remove space
This commit is contained in:
parent
b2075336b8
commit
a20c2a1273
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -83,7 +83,7 @@ class Listener(StreamListener):
|
|||
for mot in base.items():
|
||||
if lastWord in mot[1]:
|
||||
if mot[0] == "bon":
|
||||
if datetime.now().hour in range (7, 17): # between 7am and 5pm
|
||||
if datetime.now().hour in range(7, 17): # between 7am and 5pm
|
||||
answer = answers[mot[0]][0] # jour
|
||||
else:
|
||||
answer = answers[mot[0]][1] # soir
|
||||
|
|
Reference in a new issue