This commit is contained in:
恍兮惚兮 2024-05-06 21:55:31 +08:00
parent 758d20e95b
commit acaa830e21

View File

@ -274,7 +274,7 @@ const auto init_script =
L" sys.stderr = fp\n"
L" attached = True\n"
L"except Exception as e:\n"
L" fp = open(os.devnull, 'w', encoding='utf8')\n"
L" fp = open(os.devnull, 'w', errors='ignore')\n"
L" sys.stdout = fp\n"
L" sys.stderr = fp\n"
L" attached = False\n"