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
|
l = None
|
||||||
if gametype is None:
|
if gametype is None:
|
||||||
gametype = "unmatched"
|
gametype = "unmatched"
|
||||||
# TODO: not ideal, just trying to not error.
|
# TODO: not ideal, just trying to not error. Throw ParseException?
|
||||||
# TODO: Need to count failed hands.
|
self.numErrors += 1
|
||||||
else:
|
else:
|
||||||
# See if gametype is supported.
|
# See if gametype is supported.
|
||||||
type = gametype['type']
|
type = gametype['type']
|
||||||
|
|
Loading…
Reference in New Issue
Block a user