diff options
| -rw-r--r-- | tablib/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tablib/core.py b/tablib/core.py index 05687a2..e5244f6 100644 --- a/tablib/core.py +++ b/tablib/core.py @@ -608,7 +608,7 @@ class Dataset(object): # To import data from an existing DBF file: data = tablib.Dataset() - data.dbf = open('existing_table.dbf').read() + data.dbf = open('existing_table.dbf', mode='rb').read() # to import data from an ASCII-encoded bytestring: data = tablib.Dataset() |
