From 45959cba2089ab504f24f6d999af2b1bb7f4f0fc Mon Sep 17 00:00:00 2001 From: sandeepsajan0 <sandeepsajan0@gmail.com> Date: Tue, 8 Mar 2022 16:32:54 +0530 Subject: [PATCH] Add whitespaces around arithmetic operators --- hypha/apply/funds/blocks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypha/apply/funds/blocks.py b/hypha/apply/funds/blocks.py index d0aa1b38d..929f12b28 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') -- GitLab