diff --git a/apps/pm/services.py b/apps/pm/services.py index b1458621..796d3978 100644 --- a/apps/pm/services.py +++ b/apps/pm/services.py @@ -27,7 +27,7 @@ class PmService: break div_number0 = 1 rate, div_number, mtype, rq = rate_list[indx+1] - if rq.parent is None: + if rq.parent is not None: xcount = 0 else: if mtype == Process.PRO_DIV: