mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
...
This commit is contained in:
parent
758d20e95b
commit
acaa830e21
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user