Skip to content

Commit ab1dbfe

Browse files
committed
lowlevel: single space between sentences in ModuleNotFoundErrors
It reads a bit better. Signed-off-by: Benjamin Gilbert <[email protected]>
1 parent b0408be commit ab1dbfe

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

openslide/lowlevel.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ def try_load(names):
6565
return try_load(['libopenslide-1.dll', 'libopenslide-0.dll'])
6666
except FileNotFoundError:
6767
raise ModuleNotFoundError(
68-
"Couldn't locate OpenSlide DLL. "
69-
"Did you call os.add_dll_directory()? "
68+
"Couldn't locate OpenSlide DLL. "
69+
"Did you call os.add_dll_directory()? "
7070
"https://openslide.org/api/python/#installing"
7171
)
7272
elif platform.system() == 'Darwin':
@@ -81,8 +81,9 @@ def try_load(names):
8181
lib = ctypes.util.find_library('openslide')
8282
if lib is None:
8383
raise ModuleNotFoundError(
84-
"Couldn't locate OpenSlide dylib. Is OpenSlide installed "
85-
"correctly? https://openslide.org/api/python/#installing"
84+
"Couldn't locate OpenSlide dylib. "
85+
"Is OpenSlide installed correctly? "
86+
"https://openslide.org/api/python/#installing"
8687
)
8788
return cdll.LoadLibrary(lib)
8889
else:

0 commit comments

Comments
 (0)