From 252e5bfaa2997a2d370188d76e79a9da95f8f743 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Wed, 13 Jan 2021 16:50:32 -0600 Subject: [PATCH] Close file after uploading --- src/pgwui_core/core.py | 1 + 1 file changed, 1 insertion(+) 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. -- 2.34.1