Skip to content

Commit

Permalink
Update PyStand.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
HIllya51 committed May 6, 2024
1 parent aa20487 commit eed2603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyStand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ const char *init_script =
#ifndef PYSTAND_CONSOLE
"try:\n"
" fd = os.open('CONOUT$', os.O_RDWR | os.O_BINARY)\n"
" fp = os.fdopen(fd, 'w', encoding='utf8')\n"
" fp = os.fdopen(fd, 'w')\n"
" sys.stdout = fp\n"
" sys.stderr = fp\n"
" attached = True\n"
Expand Down

0 comments on commit eed2603

Please sign in to comment.