打卡记录导出bug

This commit is contained in:
曹前明 2022-10-19 20:05:42 +08:00
parent d7cdca48a6
commit c478425b12
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ def export_excel(field_data: list, data: list, FileName: str):
row += 1
FileNameF = FileName + datetime.now().strftime('%Y%m%d%H%M%S') + '.xls'
path = '/media/temp'
path = '/media/temp/'
pathRoot = settings.BASE_DIR + path
if not os.path.exists(pathRoot):
os.makedirs(pathRoot)