mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
issues/720
This commit is contained in:
parent
c40fef7654
commit
f0773fd5be
@ -276,8 +276,6 @@ const auto init_script =
|
|||||||
L" code = compile(text, PYSTAND_SCRIPT, 'exec')\n"
|
L" code = compile(text, PYSTAND_SCRIPT, 'exec')\n"
|
||||||
L" exec(code, environ)\n"
|
L" exec(code, environ)\n"
|
||||||
L"except Exception:\n"
|
L"except Exception:\n"
|
||||||
L" if attached:\n"
|
|
||||||
L" raise\n"
|
|
||||||
L" import traceback, io\n"
|
L" import traceback, io\n"
|
||||||
L" sio = io.StringIO()\n"
|
L" sio = io.StringIO()\n"
|
||||||
L" traceback.print_exc(file = sio)\n"
|
L" traceback.print_exc(file = sio)\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user