summaryrefslogtreecommitdiffstats
path: root/Mac/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Python')
-rw-r--r--Mac/Python/pyGUSISIOUX.cp10
1 files changed, 6 insertions, 4 deletions
diff --git a/Mac/Python/pyGUSISIOUX.cp b/Mac/Python/pyGUSISIOUX.cp
index 40670d8..8a51618 100644
--- a/Mac/Python/pyGUSISIOUX.cp
+++ b/Mac/Python/pyGUSISIOUX.cp
@@ -79,10 +79,12 @@ bool GUSISIOUXSocket::initialized = false;
GUSISIOUXSocket::GUSISIOUXSocket(int fd) : fFd(fd)
{
- if (!PyMac_GetDelayConsoleFlag() && !hasCustomConsole() && !initialized)
- Initialize();
- /* Tell the upper layers there's no unseen output */
- PyMac_OutputSeen();
+ if (!hasCustomConsole()) {
+ if (!PyMac_GetDelayConsoleFlag() && !initialized)
+ Initialize();
+ /* Tell the upper layers there's no unseen output */
+ PyMac_OutputSeen();
+ }
}
void