From aae33d98312cf1bb9e19176233177642574d7629 Mon Sep 17 00:00:00 2001 From: liuyebo <1515783401@qq.com> Date: Sat, 6 Jul 2024 16:52:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=A4=9A=E7=BA=BF=E7=A8=8B?= =?UTF-8?q?=E5=86=99=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- photo_review/photo_review.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/photo_review/photo_review.py b/photo_review/photo_review.py index 6cfae7d..b0bfffc 100644 --- a/photo_review/photo_review.py +++ b/photo_review/photo_review.py @@ -416,7 +416,7 @@ def photo_review(pk_phhd): elif phrec.cRectype == "4": cost_list.append(phrec) - with concurrent.futures.ThreadPoolExecutor as executor: + with concurrent.futures.ThreadPoolExecutor() as executor: executor.submit(settlement_task, pk_phhd, settlement_list) executor.submit(discharge_task, pk_phhd, discharge_record) # executor.submit(settlement_and_discharge_task, pk_phhd, settlement_list, discharge_record)