diff options
| author | Claude Paroz <claude@2xlibre.net> | 2019-10-03 21:07:49 +0200 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2019-10-03 21:14:22 +0200 |
| commit | 8aeb5e5158e26125a3e5a5ebb09ebc94493c6c4f (patch) | |
| tree | 754caf75f2a4960971668a93c6bd5830a6e3946b /tablib/formats/_xls.py | |
| parent | a0d19a56cbb49efbab8497f9eb89b3d6edde91e2 (diff) | |
| download | tablib-8aeb5e5158e26125a3e5a5ebb09ebc94493c6c4f.tar.gz | |
io.BytesIO is also available in Python 2.7
Diffstat (limited to 'tablib/formats/_xls.py')
| -rw-r--r-- | tablib/formats/_xls.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tablib/formats/_xls.py b/tablib/formats/_xls.py index d4d89ae..baa7904 100644 --- a/tablib/formats/_xls.py +++ b/tablib/formats/_xls.py @@ -4,8 +4,9 @@ """ import sys +from io import BytesIO -from tablib.compat import BytesIO, xrange +from tablib.compat import xrange import tablib import xlrd import xlwt |
