From 56e40e6dd35e6804c335fb5a89875ee393e53fef Mon Sep 17 00:00:00 2001 From: caoqianming Date: Fri, 5 Jul 2024 10:49:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=94=B9mythread=E7=9A=84?= =?UTF-8?q?=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/inm/services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/inm/services.py b/apps/inm/services.py index d2dcd554..6a52bca7 100644 --- a/apps/inm/services.py +++ b/apps/inm/services.py @@ -18,7 +18,7 @@ class InmService: """ # 统计物料数量 m_ids = MIOItem.objects.filter(mio=instance).values_list('material_id', flat=True) - MyThread(target=cal_material_count, args=(m_ids, ), daemon=True, log_err=True).start() + MyThread(target=cal_material_count, args=(m_ids, ), daemon=True).start() @classmethod def update_inm(cls, instance: MIO, is_reverse: bool = False):