supporter: Fix format string syntax error.
This commit is contained in:
		
							parent
							
								
									4fa0f8343c
								
							
						
					
					
						commit
						501b4b05fc
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -7,7 +7,7 @@ def index(request): | |||
|         except (KeyError, ValueError): | ||||
|             validator.fail() | ||||
|         else: | ||||
|             validator.validate('{.2f}'.format(amount_param)) | ||||
|             validator.validate('{:.2f}'.format(amount_param)) | ||||
|     partial_amount = amount_param if validator.valid else 0 | ||||
|     context = { | ||||
|         'partial_amount': partial_amount, | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Brett Smith
						Brett Smith