[NEWIMPORT] Enable printInsert, disable hud pipe
This commit is contained in:
parent
bbaecc1697
commit
40cbb55f7f
|
@ -435,13 +435,13 @@ class Importer:
|
|||
|
||||
for hand in handlist:
|
||||
#try, except duplicates here?
|
||||
#hand.prepInsert()
|
||||
hand.prepInsert(self.database)
|
||||
hand.insert(self.database)
|
||||
if self.callHud and hand.dbid_hands != 0:
|
||||
#print "DEBUG: call to HUD: handsId: %s" % hand.dbid_hands
|
||||
#pipe the Hands.id out to the HUD
|
||||
# print "fpdb_import: sending hand to hud", handsId, "pipe =", self.caller.pipe_to_hud
|
||||
self.caller.pipe_to_hud.stdin.write("%s" % (hand.dbid_hands) + os.linesep)
|
||||
print "fpdb_import: sending hand to hud", handsId, "pipe =", self.caller.pipe_to_hud
|
||||
#self.caller.pipe_to_hud.stdin.write("%s" % (hand.dbid_hands) + os.linesep)
|
||||
|
||||
errors = getattr(hhc, 'numErrors')
|
||||
stored = getattr(hhc, 'numHands')
|
||||
|
|
Loading…
Reference in New Issue
Block a user