From 12946a064b461473d21a5ce7ed4c1237b750b0c6 Mon Sep 17 00:00:00 2001 From: Anne Haley Date: Mon, 29 Jan 2024 10:38:10 -0500 Subject: [PATCH] Update Exception class in __del__ method --- sources/zarr/large_image_source_zarr/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/zarr/large_image_source_zarr/__init__.py b/sources/zarr/large_image_source_zarr/__init__.py index 74fae71ea..e5bdb1a38 100644 --- a/sources/zarr/large_image_source_zarr/__init__.py +++ b/sources/zarr/large_image_source_zarr/__init__.py @@ -117,7 +117,7 @@ def __del__(self): try: self._zarr.close() self._tempfile.close() - except BaseException: + except Exception: pass def _checkEditable(self):