diff options
Diffstat (limited to 'tablib/formats/_dbf.py')
| -rw-r--r-- | tablib/formats/_dbf.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tablib/formats/_dbf.py b/tablib/formats/_dbf.py index 41c2ef4..710797d 100644 --- a/tablib/formats/_dbf.py +++ b/tablib/formats/_dbf.py @@ -55,6 +55,7 @@ def export_set(dataset): else: stream = StringIO(dbf_stream.read()) dbf_stream.close() + os.close(temp_file) os.remove(temp_uri) return stream.getvalue() @@ -88,6 +89,3 @@ def detect(stream): # When unpacking a string argument with less than 8 chars, struct.error is # raised. return False - - - |
