bug fix: space needed before language parameter when ordering meal plan
Signed-off-by: Konrad <klux2@hs-mittweida.de>
This commit is contained in:
parent
a751903eee
commit
9255527662
1 changed files with 2 additions and 2 deletions
|
@ -118,9 +118,9 @@ class HSMensaW(telepot.aio.helper.ChatHandler):
|
|||
await send_message(bot_obj=bot, chat_id=chat_id,
|
||||
msg="Für heute ist leider kein Speiseplan verfügbar.")
|
||||
else:
|
||||
if text.endswith("en"):
|
||||
if text.endswith(" en"):
|
||||
language = Language.ENGLISH
|
||||
elif text.endswith("de"):
|
||||
elif text.endswith(" de"):
|
||||
language = Language.GERMAN
|
||||
else:
|
||||
if chat_id in ids.keys():
|
||||
|
|
Loading…
Reference in a new issue