diff options
| author | Kenneth Reitz <me@kennethreitz.org> | 2017-01-05 12:51:01 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-05 12:51:01 -0500 |
| commit | 6cb9a697460a725e563e630ab3c162dc8f8bd307 (patch) | |
| tree | ac8abf220d1b30cf79c6c6062685dbc2d3732cae | |
| parent | ddc4bd30f22e40ae4e3aa9347747f1f96912191a (diff) | |
| parent | bb1354b61f10cf82bcd7cccf25de3d3fa2dab4ce (diff) | |
| download | tablib-6cb9a697460a725e563e630ab3c162dc8f8bd307.tar.gz | |
Merge pull request #266 from wenzhihong2003/master
remove file must be close it.
| -rw-r--r-- | tablib/formats/_dbf.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tablib/formats/_dbf.py b/tablib/formats/_dbf.py index 41c2ef4..a0c183d 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() |
