From: Karl O. Pinc Date: Wed, 13 Jan 2021 22:50:32 +0000 (-0600) Subject: Close file after uploading X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=252e5bfaa2997a2d370188d76e79a9da95f8f743;p=pgwui_core Close file after uploading --- diff --git a/src/pgwui_core/core.py b/src/pgwui_core/core.py index fca5958..6779c76 100644 --- a/src/pgwui_core/core.py +++ b/src/pgwui_core/core.py @@ -962,6 +962,7 @@ class UploadData(DBData): self.lineno, self._parser, self._mapper) + self.close_fileo() def _extend(self, line, seq): '''Give the list as many elements as there are in the header.