hand error in checkPlayerExists will tell you why it failed
This commit is contained in:
		
							parent
							
								
									f0dc69250c
								
							
						
					
					
						commit
						fe5045b14f
					
				| 
						 | 
					@ -159,6 +159,7 @@ Card ranks will be uppercased
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def checkPlayerExists(self,player):
 | 
					    def checkPlayerExists(self,player):
 | 
				
			||||||
        if player not in [p[1] for p in self.players]:
 | 
					        if player not in [p[1] for p in self.players]:
 | 
				
			||||||
 | 
					            print "checkPlayerExists", player, "fail"
 | 
				
			||||||
            raise FpdbParseError
 | 
					            raise FpdbParseError
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def discardHoleCards(self, cards, player):
 | 
					    def discardHoleCards(self, cards, player):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user