diff options
| author | Parth Shandilya <parth1989shandilya@gmail.com> | 2019-03-02 00:07:39 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-02 00:07:39 +0530 |
| commit | babcbfd949be5c04efea28f81561c91bde6cbe3f (patch) | |
| tree | b8e28cb4333d9d65725262aca76061ee7de2f3cd /tablib | |
| parent | 29b2c08da0b2bf171382d21c2876265aacd03821 (diff) | |
| parent | a28a057559bcfb39612e91af59f0e80a1796caf6 (diff) | |
| download | tablib-babcbfd949be5c04efea28f81561c91bde6cbe3f.tar.gz | |
Merge pull request #339 from thombashi/replace_deprecated_method
Replace a deprecated method call
Diffstat (limited to 'tablib')
| -rw-r--r-- | tablib/formats/_xlsx.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tablib/formats/_xlsx.py b/tablib/formats/_xlsx.py index eb921f9..1d29ba8 100644 --- a/tablib/formats/_xlsx.py +++ b/tablib/formats/_xlsx.py @@ -52,7 +52,7 @@ def export_book(databook, freeze_panes=True): wb = Workbook() for sheet in wb.worksheets: - wb.remove_sheet(sheet) + wb.remove(sheet) for i, dset in enumerate(databook._datasets): ws = wb.create_sheet() ws.title = dset.title if dset.title else 'Sheet%s' % (i) |
