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):
|
def __init__(self):
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
self.origOut = None
|
#self.origOut = None
|
||||||
sys.stdout = self
|
#sys.stdout = self
|
||||||
self.origOut = sys.__stdout__
|
#self.origOut = sys.__stdout__
|
||||||
|
|
||||||
def write(self, text):
|
def write(self, text):
|
||||||
import FreeCAD
|
import FreeCAD
|
||||||
|
|
Loading…
Reference in New Issue
Block a user