fpdb_import: Only pipe to hud if callHud variable set

This commit is contained in:
Worros 2011-04-01 13:35:13 +08:00
parent 0c03547bf6
commit 753596f217

View File

@ -493,7 +493,7 @@ class Importer:
self.database.commit()
#pipe the Hands.id out to the HUD
if self.caller:
if self.callHud:
for hid in to_hud:
try:
print _("fpdb_import: sending hand to hud"), hand.dbid_hands, "pipe =", self.caller.pipe_to_hud