From 9b59957a9b8a7be19093649df97f237564da3be8 Mon Sep 17 00:00:00 2001 From: sqlcoder Date: Sat, 12 Jun 2010 11:15:55 +0100 Subject: [PATCH] comment out new .close() calls to fix autoimport button --- pyfpdb/GuiAutoImport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfpdb/GuiAutoImport.py b/pyfpdb/GuiAutoImport.py index 4db85872..6dd67ba5 100755 --- a/pyfpdb/GuiAutoImport.py +++ b/pyfpdb/GuiAutoImport.py @@ -214,8 +214,8 @@ class GuiAutoImport (threading.Thread): stderr=subprocess.PIPE, # only needed for py2exe universal_newlines=True ) - self.pipe_to_hud.stdout.close() - self.pipe_to_hud.stderr.close() + #self.pipe_to_hud.stdout.close() + #self.pipe_to_hud.stderr.close() except: err = traceback.extract_tb(sys.exc_info()[2])[-1] #self.addText( "\n*** GuiAutoImport Error opening pipe: " + err[2] + "(" + str(err[1]) + "): " + str(sys.exc_info()[1]))