From 04af0d20f504dbb2b0677497087b264c5384f342 Mon Sep 17 00:00:00 2001 From: "gergely.erdelyi" Date: Wed, 25 Jun 2008 21:02:31 +0000 Subject: [PATCH] init.py: Added isatty() to the dummy stdout file object --- python/init.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/init.py b/python/init.py index b4b88e2..e091691 100644 --- a/python/init.py +++ b/python/init.py @@ -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()