Remove XLSX empty sheet on export_book

This commit is contained in:
Iuri de Silvio 2013-09-16 10:28:50 -03:00
parent 2c14486c33
commit 5ffcfd56f2
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ def export_book(databook):
"""Returns XLSX representation of DataBook."""
wb = Workbook()
wb.worksheets = []
ew = ExcelWriter(workbook = wb)
for i, dset in enumerate(databook._datasets):
ws = wb.create_sheet()