From fc20330f2ba8680e2d3ce56f03a8af887578e881 Mon Sep 17 00:00:00 2001 From: Worros Date: Mon, 30 Nov 2009 15:11:00 +0800 Subject: [PATCH] [NEWIMPORT] Don't actually writeHand on NEWIMPORT --- pyfpdb/HandHistoryConverter.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pyfpdb/HandHistoryConverter.py b/pyfpdb/HandHistoryConverter.py index b618df8a..41b7b3d0 100644 --- a/pyfpdb/HandHistoryConverter.py +++ b/pyfpdb/HandHistoryConverter.py @@ -284,10 +284,8 @@ which it expects to find at self.re_TailSplitHands -- see for e.g. Everleaf.py. log.info("Unsupported game type: %s" % gametype) if hand: -# uncomment these to calculate some stats -# print hand -# hand.stats.getStats(hand) - hand.writeHand(self.out_fh) + if Configuration.NEWIMPORT == False: + hand.writeHand(self.out_fh) return hand else: log.info("Unsupported game type: %s" % gametype)