From d2fe00717715cd0c377ee5afb077174cb2d108a3 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Wed, 25 Sep 2019 15:05:07 +0530 Subject: [PATCH] fix(xls): Don't remove first row --- frappe/utils/xlsxutils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/frappe/utils/xlsxutils.py b/frappe/utils/xlsxutils.py index 9545722e9a..2814c5ff40 100644 --- a/frappe/utils/xlsxutils.py +++ b/frappe/utils/xlsxutils.py @@ -104,7 +104,6 @@ def read_xls_file_from_attached_file(content): rows = [] for i in range(sheet.nrows): rows.append(sheet.row_values(i)) - rows = rows[1:] return rows def build_xlsx_response(data, filename):