Explorar el Código

文件路径修改

Signed-off-by: Binren Zhnag <zhangbr@elab-plus.com>
Binren Zhnag hace 5 años
padre
commit
8f0b11c865
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      xlwt_util.py

+ 1 - 1
xlwt_util.py

@@ -310,7 +310,7 @@ class XlwtUtil(object):
                 pass
             file_path = self.get_file_name(task_key, time_rang, key)
             self.wb.save(file_path[0])  # 保存xls
-            result.append([key, mail, file_path, file_path[1]])
+            result.append([key, mail, file_path[0], file_path[1]])
         return result
 
     def insert_module_data(self, ws, title, header, data, start_row, start_col, end_col):