From 19239c6b4267736f93d3d9f5bf49ccc8281bbc6e Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 11 Sep 2023 10:52:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=B4=E6=97=B6=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E9=BB=98=E8=AE=A4temp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/utils/export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/utils/export.py b/apps/utils/export.py index 0fdfaa0b..16f29558 100644 --- a/apps/utils/export.py +++ b/apps/utils/export.py @@ -155,7 +155,7 @@ def export_excel_img(field_data: list, data: list, FileName: str): ws.add_image(i[0], i[1]) FileNameF = FileName + datetime.now().strftime('%Y%m%d%H%M%S') + '.xlsx' - path = '/media/temp/' + path = '/temp/' pathRoot = settings.BASE_DIR + path if not os.path.exists(pathRoot): os.makedirs(pathRoot)