Skip to content

Commit 7d1be91

Browse files
jaharkesbgilbert
authored andcommitted
lowlevel: check for errors after calling set_cache
openslide_set_cache() doesn't generate any errors, but that's an implementation detail, and for consistency we should check that an error wasn't previously set. Signed-off-by: Jan Harkes <[email protected]> Signed-off-by: Benjamin Gilbert <[email protected]>
1 parent dbd779d commit 7d1be91

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

openslide/lowlevel.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,6 @@ def read_associated_image_icc_profile(
568568
'openslide_set_cache',
569569
None,
570570
[_OpenSlide, _OpenSlideCache],
571-
None,
572571
minimum_version='4.0.0',
573572
)
574573

0 commit comments

Comments
 (0)