diff --git a/kaaf/handler.py b/kaaf/handler.py index 129e0bb..cefd76b 100644 --- a/kaaf/handler.py +++ b/kaaf/handler.py @@ -111,7 +111,7 @@ def calculate_traveling_refund(data): numberOfTravelers = int(data["numberOfTravelers"]) amount = float(data["amount"].replace(",", ".")) - res = (distance * 2 * 0.9 * numberOfTravelers) / 2 + res = (distance * 0.9 * numberOfTravelers) / 2 if((amount / 2) < res): res = amount / 2