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