Fix from Ray - fix typo in producer function
This commit is contained in:
parent
5a085a6d23
commit
eeef0a079b
|
@ -106,7 +106,7 @@ def read_stdin(source, condition, db_name):
|
||||||
def producer(): # This is the thread function
|
def producer(): # This is the thread function
|
||||||
while True:
|
while True:
|
||||||
hand_no = sys.stdin.readline() # reads stdin
|
hand_no = sys.stdin.readline() # reads stdin
|
||||||
if new_hand_id == "":
|
if hand_no == "":
|
||||||
destroy()
|
destroy()
|
||||||
dataQueue.put(hand_no) # and puts result on the queue
|
dataQueue.put(hand_no) # and puts result on the queue
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user