Fix from Ray - fix typo in producer function

This commit is contained in:
Worros 2008-10-17 10:59:56 +08:00
parent 5a085a6d23
commit eeef0a079b

View File

@ -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