]> git.aero2k.de Git - urlbot-v3.git/commitdiff
frühstücksfix
authorThorsten S <mail@aero2k.de>
Sat, 7 Mar 2020 00:12:58 +0000 (01:12 +0100)
committerThorsten S <mail@aero2k.de>
Sat, 7 Mar 2020 00:12:58 +0000 (01:12 +0100)
distbot/bot/bot.py

index 72c95116f1acbe5787b9256d7fac3d5845000d78..0bd609427480c76569f66292a1ad011d9bb149d6 100644 (file)
@@ -124,7 +124,7 @@ class Bot(sleekxmpp.ClientXMPP):
                 self.echo("Worker One available for master.")
 
             # simplify the key significantly
-            key = shlex.split(re.sub(r'[^a-z0-9 "\']', '', msg["body"].lower()))
+            key = shlex.split(re.sub(r'[^a-zäöüß0-9 "\']', '', msg["body"].lower()))
             if not key:
                 # simple dots, smilies, emoji shit, pass through
                 key = shlex.split(msg["body"].lower())