PSSummary: Add new parseSummary method
This commit is contained in:
		
							parent
							
								
									20bb51145b
								
							
						
					
					
						commit
						10a48240db
					
				|  | @ -54,6 +54,8 @@ class PokerStarsSummary(TourneySummary): | |||
|                           '5 Card Draw' : ('draw','fivedraw') | ||||
|                } | ||||
| 
 | ||||
|     re_SplitGames = re.compile("^PokerStars") | ||||
|      | ||||
|     re_TourNo = re.compile("\#[0-9]+,") | ||||
|     re_Entries = re.compile("[0-9]+") | ||||
|     re_Prizepool = re.compile("\$[0-9]+\.[0-9]+") | ||||
|  | @ -167,4 +169,7 @@ class PokerStarsSummary(TourneySummary): | |||
|              | ||||
|             self.addPlayer(rank, name, winnings, self.currency, None, None, None)#TODO: currency, ko/addon/rebuy count -> need examples! | ||||
|     #end def parseSummary | ||||
|     def parseSummaryFile(self): | ||||
|         lines=self.summaryText.splitlines() | ||||
|         print lines | ||||
| #end class PokerStarsSummary | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user