mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
fix
This commit is contained in:
parent
238abe0414
commit
8eabd91efe
@ -269,7 +269,7 @@ const auto init_script =
|
|||||||
#ifndef PYSTAND_CONSOLE
|
#ifndef PYSTAND_CONSOLE
|
||||||
L"try:\n"
|
L"try:\n"
|
||||||
L" fd = os.open('CONOUT$', os.O_RDWR | os.O_BINARY)\n"
|
L" fd = os.open('CONOUT$', os.O_RDWR | os.O_BINARY)\n"
|
||||||
L" fp = os.fdopen(fd, 'w', encoding='utf8')\n"
|
L" fp = os.fdopen(fd, 'w')\n"
|
||||||
L" sys.stdout = fp\n"
|
L" sys.stdout = fp\n"
|
||||||
L" sys.stderr = fp\n"
|
L" sys.stderr = fp\n"
|
||||||
L" attached = True\n"
|
L" attached = True\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user