remove space

This commit is contained in:
Mylloon 2021-08-06 01:55:59 +02:00
parent b2075336b8
commit a20c2a1273

View file

@ -83,7 +83,7 @@ class Listener(StreamListener):
for mot in base.items(): for mot in base.items():
if lastWord in mot[1]: if lastWord in mot[1]:
if mot[0] == "bon": 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 answer = answers[mot[0]][0] # jour
else: else:
answer = answers[mot[0]][1] # soir answer = answers[mot[0]][1] # soir