Fix Python consoles cannot be created.

Fixes #8899
https://gitlab.com/kicad/code/kicad/issues/8899
This commit is contained in:
jean-pierre charras 2021-07-31 16:46:27 +02:00
parent 435b1720c3
commit c20a76f3e2
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class PcbnewPyShell(editor.EditorNotebookFrame):
"""Keep pydoc output on stdout instead of pager and """Keep pydoc output on stdout instead of pager and
place the stdout into the editor window """ place the stdout into the editor window """
import pydoc, sys import pydoc
self._keep_stdin = sys.stdin self._keep_stdin = sys.stdin
pydoc.pager = pydoc.plainpager pydoc.pager = pydoc.plainpager