get rid of some useless intermediate output
This commit is contained in:
Regular → Executable
-2
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user