add usd_foil as a mode option to prices
This commit is contained in:
		
							parent
							
								
									9fd74649bf
								
							
						
					
					
						commit
						2575990403
					
				| 
						 | 
					@ -471,7 +471,7 @@ class CardsObject(FoundationObject):
 | 
				
			||||||
        Returns:
 | 
					        Returns:
 | 
				
			||||||
            float: The prices as a float
 | 
					            float: The prices as a float
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
        modes = ['usd', 'eur', 'tix']
 | 
					        modes = ['usd', 'usd_foil', 'eur', 'tix']
 | 
				
			||||||
        if mode not in modes:
 | 
					        if mode not in modes:
 | 
				
			||||||
            raise KeyError("{} is not a key.".format(mode))
 | 
					            raise KeyError("{} is not a key.".format(mode))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue