From f0773fd5be05bb1b4e76f7c9c9ed21651d292cd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Mon, 6 May 2024 18:51:44 +0800 Subject: [PATCH] issues/720 --- plugins/exec/PyStand.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/plugins/exec/PyStand.cpp b/plugins/exec/PyStand.cpp index 8d4f1e49..53f15623 100644 --- a/plugins/exec/PyStand.cpp +++ b/plugins/exec/PyStand.cpp @@ -276,8 +276,6 @@ const auto init_script = L" code = compile(text, PYSTAND_SCRIPT, 'exec')\n" L" exec(code, environ)\n" L"except Exception:\n" - L" if attached:\n" - L" raise\n" L" import traceback, io\n" L" sio = io.StringIO()\n" L" traceback.print_exc(file = sio)\n"