Fix bug I introduced that caused empty hands corresponding to splits

between hands (blank lines) to be 'processed' by HHC in Everleaf, PS and
FTP converters.
This commit is contained in:
Matt Turnbull
2009-03-31 07:44:19 +01:00
parent f3ee865721
commit 5cd5ad8fa6
4 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ Tail the in_path file and yield handTexts separated by re_SplitHands"""
if self.obs == "" or self.obs == None:
logging.info("Read no hands.")
return
return re.split(self.re_SplitHands, self.obs)
return re.split(self.re_TailSplitHands, self.obs)
def processHand(self, handText):
gametype = self.determineGameType(handText)