From 8b49f46d1cd5f85831db5583a8cc4bcba68c2bb6 Mon Sep 17 00:00:00 2001 From: Worros Date: Wed, 18 Aug 2010 13:17:42 +0800 Subject: [PATCH] HHC: Correct error count for unmatched gametype regex --- pyfpdb/HandHistoryConverter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfpdb/HandHistoryConverter.py b/pyfpdb/HandHistoryConverter.py index eb1d7de8..34619c40 100644 --- a/pyfpdb/HandHistoryConverter.py +++ b/pyfpdb/HandHistoryConverter.py @@ -272,8 +272,8 @@ which it expects to find at self.re_TailSplitHands -- see for e.g. Everleaf.py. l = None if gametype is None: gametype = "unmatched" - # TODO: not ideal, just trying to not error. - # TODO: Need to count failed hands. + # TODO: not ideal, just trying to not error. Throw ParseException? + self.numErrors += 1 else: # See if gametype is supported. type = gametype['type']