diff --git a/HSMensaW_botA.py b/HSMensaW_botA.py index 672d23e..6f9aa01 100644 --- a/HSMensaW_botA.py +++ b/HSMensaW_botA.py @@ -223,7 +223,7 @@ async def get_essen(only_today: bool) -> None: for i in menus: kategorie = i.findall("type")[0].text - name = i.findall("description")[0].text.strip("()1234567890, ") + name = i.findall("description")[0].text.rstrip("()1234567890, ") try: preis = float(i.findall("./prices/price[label='Studenten']/value")[0].text.replace(",", ".")) except ValueError: