diff --git a/apps/wpm/views.py b/apps/wpm/views.py index eaececeb..2d69ea39 100644 --- a/apps/wpm/views.py +++ b/apps/wpm/views.py @@ -698,6 +698,7 @@ class MlogbInViewSet(CreateModelMixin, UpdateModelMixin, DestroyModelMixin, Cust cq_w = 4 if '02d' in rule: cq_w = 2 + n_count = 0 if wpr: try: n_count = int(wpr.number[-cq_w:].lstrip('0'))