From 4a6213e32e4f7fa680f771030ce11c41d86692c4 Mon Sep 17 00:00:00 2001 From: fpdb-mme Date: Thu, 5 Nov 2009 01:26:32 +0100 Subject: [PATCH] now sample code it works as expected grrr, soewhere down the line the exception got swallowed. this is evil!!! -x must die --- pyfpdb/HUD_run_me.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyfpdb/HUD_run_me.py b/pyfpdb/HUD_run_me.py index 53e79d42..00819322 100755 --- a/pyfpdb/HUD_run_me.py +++ b/pyfpdb/HUD_run_me.py @@ -37,7 +37,8 @@ if __name__== "__main__": HUD_main.config = Configuration.Config() gobject.threads_init() # this is required - thread.start_new_thread(HUD_main.read_stdin, ()) # starts the thread + hud = HUD_main.HUD_main() + thread.start_new_thread(hud.read_stdin, ()) # starts the thread HUD_main.main_window = gtk.Window() HUD_main.main_window.connect("destroy", destroy)