small fixes
This commit is contained in:
@@ -21,5 +21,6 @@ def calc_home_factor(gallons_put_in_home, current_house_factor):
|
||||
customer_home_factor = Decimal(current_house_factor) - Decimal(.75)
|
||||
else:
|
||||
customer_home_factor = Decimal(current_house_factor)
|
||||
|
||||
if customer_home_factor <= 0:
|
||||
customer_home_factor = Decimal(.25)
|
||||
return customer_home_factor
|
||||
Reference in New Issue
Block a user