FTP: Make Summary split more careful
This prevents the import from crashing on Run It Twice hand histories.
This commit is contained in:
@@ -339,7 +339,7 @@ class Fulltilt(HandHistoryConverter):
|
||||
def readPlayerStacks(self, hand):
|
||||
# Split hand text for FTP, as the regex matches the player names incorrectly
|
||||
# in the summary section
|
||||
pre, post = hand.handText.split('SUMMARY')
|
||||
pre, post = hand.handText.split('*** SUMMARY ***')
|
||||
m = self.re_PlayerInfo.finditer(pre)
|
||||
plist = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user