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:
@@ -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
|
||||
|
Reference in New Issue
Block a user