From eeef0a079b183072798a51da0fa4a8e5f9a53d8c Mon Sep 17 00:00:00 2001 From: Worros Date: Fri, 17 Oct 2008 10:59:56 +0800 Subject: [PATCH] Fix from Ray - fix typo in producer function --- pyfpdb/HUD_main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/HUD_main.py b/pyfpdb/HUD_main.py index 1d3fc299..0bfe7f40 100755 --- a/pyfpdb/HUD_main.py +++ b/pyfpdb/HUD_main.py @@ -106,7 +106,7 @@ def read_stdin(source, condition, db_name): def producer(): # This is the thread function while True: hand_no = sys.stdin.readline() # reads stdin - if new_hand_id == "": + if hand_no == "": destroy() dataQueue.put(hand_no) # and puts result on the queue