HHC: Correct error count for unmatched gametype regex
This commit is contained in:
parent
3f0f421c0d
commit
8b49f46d1c
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue
Block a user