We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 282887e commit f1f4402Copy full SHA for f1f4402
openslide/lowlevel.py
@@ -77,7 +77,7 @@ def from_param(cls, obj):
77
def _check_open(result, _func, _args):
78
if result is None:
79
raise OpenSlideError("Could not open image file")
80
- return _OpenSlide(result)
+ return _OpenSlide(c_void_p(result))
81
82
# prevent further operations on slide handle after it is closed
83
def _check_close(_result, _func, args):
0 commit comments