txlyre 2 月之前
父節點
當前提交
be4552e56b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      openkriemy.py

+ 1 - 1
openkriemy.py

@@ -109,7 +109,7 @@ async def on_message(event):
 
     try:
         action = await find_action(command.name)
-    except SyntaxError, ConfigurationError:
+    except (SyntaxError, ConfigurationError):
         pass
 
     if not await is_allowed(peer_id):