get rid of some useless intermediate output
This commit is contained in:
parent
1e7b584dba
commit
6832234cfb
2
pyfpdb/HUD_main.py
Normal file → Executable file
2
pyfpdb/HUD_main.py
Normal file → Executable file
|
@ -94,14 +94,12 @@ def check_stdin(db_name):
|
||||||
process_new_hand(hand_no, db_name)
|
process_new_hand(hand_no, db_name)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def read_stdin(source, condition, db_name):
|
def read_stdin(source, condition, db_name):
|
||||||
new_hand_id = sys.stdin.readline()
|
new_hand_id = sys.stdin.readline()
|
||||||
if new_hand_id == "":
|
if new_hand_id == "":
|
||||||
destroy()
|
destroy()
|
||||||
print "new_hand_id = ", new_hand_id
|
|
||||||
process_new_hand(new_hand_id, db_name)
|
process_new_hand(new_hand_id, db_name)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user