diff --git a/service.py b/service.py index 3836e23f70..7fcd7d8a94 100644 --- a/service.py +++ b/service.py @@ -56,6 +56,7 @@ class Employee(ModelSQL, ModelView, Cacheable): for edate, ecost in employee_costs: if date >= edate: cost = ecost + else: break return cost