txlyre hai 6 días
pai
achega
9f8e77c97c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      actions.py

+ 1 - 1
actions.py

@@ -333,5 +333,5 @@ async def run(text):
 
     try:
         return f"```\n{text}```"
-    except ValueError, MessageEmptyError:
+    except (ValueError, MessageEmptyError):
         return "<Telegram не смог декодировать текст сообщения>"