Changeset - 501b4b05fc91
[Not reviewed]
0 1 0
Brett Smith (brett) - 4 years ago 2016-12-02 20:15:49
brett@sfconservancy.org
supporter: Fix format string syntax error.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
www/conservancy/apps/supporter/views.py
Show inline comments
...
 
@@ -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,
0 comments (0 inline, 0 general)