Skip to content
Permalink
Browse files
Fix opening the console
when an error occurs (specifically when 3d library is not built) before the console is displayed.
  • Loading branch information
agiudiceandrea authored and nyalldawson committed Apr 22, 2021
1 parent 21fab96 commit d92d9fe429c43e8dd8fdf3c9a7cdebb7da8477cc
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/console/console_sci.py
@@ -533,7 +533,8 @@ def runCommand(self, cmd):
self.displayPrompt(self.continuationLine)

def write(self, txt):
sys.stderr.write(txt)
if sys.stderr:
sys.stderr.write(txt)

def writeCMD(self, txt):
if sys.stdout:

0 comments on commit d92d9fe

Please sign in to comment.