Commit 78c125a381eaef97172067bd2b4ef0a77d277ff4

Authored by kosaniak
1 parent e7b95c87

Edit add_and_round function

@@ -524,8 +524,8 @@ def mult_and_round(*args, **kwargs): @@ -524,8 +524,8 @@ def mult_and_round(*args, **kwargs):
524 return round(reduce(operator.mul, args), kwargs.get('precision', 2)) 524 return round(reduce(operator.mul, args), kwargs.get('precision', 2))
525 525
526 526
527 -def add_and_round(args, kwargs):  
528 - return float( args + kwargs ) 527 +def add_and_round(arg1, arg2):
  528 + return float(arg1 + arg2)
529 529
530 530
531 def generate_test_bid_data_second_stage(tender_data, index='0'): 531 def generate_test_bid_data_second_stage(tender_data, index='0'):
Please register or login to post a comment