init.py: Added isatty() to the dummy stdout file object

This commit is contained in:
gergely.erdelyi 2008-06-25 21:02:31 +00:00
parent 40846fe7c9
commit 04af0d20f5

View File

@ -79,6 +79,8 @@ class MyStdOut:
def flush(self): def flush(self):
pass pass
def isatty(self):
return False
# Redirect stderr and stdout to the IDA message window # Redirect stderr and stdout to the IDA message window
sys.stdout = sys.stderr = MyStdOut() sys.stdout = sys.stderr = MyStdOut()