1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-16 07:08:55 +00:00

update-code-with-openpyxl (#4412)

This commit is contained in:
Leo
2020-01-14 10:01:09 +08:00
committed by Daniel Pan
parent fdede812d4
commit 30b6a61dc8

View File

@@ -10,7 +10,7 @@ def write_xls(sheet_name, head, data_list):
try:
wb = openpyxl.Workbook()
ws = wb.get_active_sheet()
ws = wb.active
except Exception as e:
logger.error(e)
return None