change 2 commits to 1, may help sqlite stop locking up

This commit is contained in:
sqlcoder 2010-02-03 01:03:36 +00:00
parent e3679a99fb
commit 864454f31c

View File

@ -451,7 +451,7 @@ class Importer:
to_hud.append(hand.dbid_hands)
else: # TODO: Treat empty as an error, or just ignore?
log.error("Hand processed but empty")
self.database.commit()
# Call hudcache update if not in bulk import mode
# FIXME: Need to test for bulk import that isn't rebuilding the cache
if self.callHud: