Skip to content

Commit

Permalink
lowlevel: check for errors after calling set_cache
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
jaharkes authored and bgilbert committed Oct 26, 2024
1 parent dbd779d commit 7d1be91
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion openslide/lowlevel.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,6 @@ def read_associated_image_icc_profile(
'openslide_set_cache',
None,
[_OpenSlide, _OpenSlideCache],
None,
minimum_version='4.0.0',
)

Expand Down

0 comments on commit 7d1be91

Please sign in to comment.