mirror of
https://github.com/idapython/src
synced 2026-06-08 14:47:00 +00:00
init.py: Added isatty() to the dummy stdout file object
This commit is contained in:
@@ -79,6 +79,8 @@ class MyStdOut:
|
||||
def flush(self):
|
||||
pass
|
||||
|
||||
def isatty(self):
|
||||
return False
|
||||
|
||||
# Redirect stderr and stdout to the IDA message window
|
||||
sys.stdout = sys.stderr = MyStdOut()
|
||||
|
||||
Reference in New Issue
Block a user