Fixed an error that the module was causing by redirecting stdout.
This commit is contained in:
parent
e49369f171
commit
79b7d9cc51
|
@ -2,9 +2,9 @@ class PrintHook:
|
|||
def __init__(self):
|
||||
import sys
|
||||
|
||||
self.origOut = None
|
||||
sys.stdout = self
|
||||
self.origOut = sys.__stdout__
|
||||
#self.origOut = None
|
||||
#sys.stdout = self
|
||||
#self.origOut = sys.__stdout__
|
||||
|
||||
def write(self, text):
|
||||
import FreeCAD
|
||||
|
|
Loading…
Reference in New Issue
Block a user