Add ability to import Stars archive files.

PokerStars support can provide a HH archive. The format is similar but not the same as a a standard hh format as it contains an additional line "Hand #X" between each hand.

Patch adds an option -s to GuiBulkImport, which when specified will strip these lines out and continue parsing.
This commit is contained in:
Worros
2009-12-17 18:42:50 +08:00
parent f03a9c287f
commit 26fc0b5928
4 changed files with 25 additions and 7 deletions
+1
View File
@@ -266,6 +266,7 @@ If a player has None chips he won't be added."""
log.error("markstreets didn't match")
log.error(" - Assuming hand cancelled")
self.cancelled = True
raise FpdbParseError
def checkPlayerExists(self,player):
if player not in [p[1] for p in self.players]: