diff --git a/hypha/apply/funds/blocks.py b/hypha/apply/funds/blocks.py index d0aa1b38d4bf4acae6221571a85edc68405c89bb..929f12b281082adb738358acefa11add5a115cda 100644 --- a/hypha/apply/funds/blocks.py +++ b/hypha/apply/funds/blocks.py @@ -38,7 +38,7 @@ class ValueBlock(ApplicationSingleIncludeFieldBlock): description = 'The value of the project' max_digits = 20 decimal_digits = 2 - widget = forms.NumberInput(attrs={'min': 0, 'max': ((pow(10, max_digits)-1)/pow(10, decimal_digits))}) + widget = forms.NumberInput(attrs={'min': 0, 'max': ((pow(10, max_digits) - 1) / pow(10, decimal_digits))}) class Meta: label = _('Requested amount')