Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Milk committed Jan 19, 2024
2 parents 3560c0e + e512e20 commit 2d2b16c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lazyslide/wsi.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ def reader(self):
return self._reader

def detach_handler(self):
self._reader.detach_handler()
if self._reader is not None:
self._reader.detach_handler()

@property
def metadata(self):
Expand Down

0 comments on commit 2d2b16c

Please sign in to comment.