[NEWIMPORT] Add a commit at the end of the fpdb_import cycle
This commit is contained in:
parent
5e4cc1c5eb
commit
72cf9a61ca
|
@ -442,6 +442,7 @@ class Importer:
|
|||
#pipe the Hands.id out to the HUD
|
||||
print "fpdb_import: sending hand to hud", hand.dbid_hands, "pipe =", self.caller.pipe_to_hud
|
||||
self.caller.pipe_to_hud.stdin.write("%s" % (hand.dbid_hands) + os.linesep)
|
||||
self.database.commit()
|
||||
|
||||
errors = getattr(hhc, 'numErrors')
|
||||
stored = getattr(hhc, 'numHands')
|
||||
|
|
Loading…
Reference in New Issue
Block a user