From d8a87b92d4101ca406ab0866964737e2d3baba30 Mon Sep 17 00:00:00 2001 From: Worros Date: Tue, 22 Dec 2009 22:15:27 +0800 Subject: [PATCH] [NEWIMPORT] Make hudcache rebuild only happen no call to hud --- pyfpdb/fpdb_import.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyfpdb/fpdb_import.py b/pyfpdb/fpdb_import.py index a2a466de..24f16000 100644 --- a/pyfpdb/fpdb_import.py +++ b/pyfpdb/fpdb_import.py @@ -449,7 +449,8 @@ class Importer: else: log.error("Hand processed but empty") self.database.commit() - self.database.rebuild_hudcache() + if self.callHud: + self.database.rebuild_hudcache() #pipe the Hands.id out to the HUD for hid in to_hud: