FTP: Make Summary split more careful
This prevents the import from crashing on Run It Twice hand histories.
This commit is contained in:
		
							parent
							
								
									de28aa7dc0
								
							
						
					
					
						commit
						db3df7b42e
					
				|  | @ -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 = {} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user