Skip to content

Commit e7181b9

Browse files
committed
Improve error message formatting
1 parent b8c3224 commit e7181b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

neo/rawio/plexon2rawio/pypl2/pypl2lib.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,9 @@ def __init__(self, pl2_dll_file_path=None):
150150
try:
151151
self.pl2_dll = ctypes.CDLL(str(self.pl2_dll_file_path))
152152
except IOError:
153-
raise IOError(f"Error: Can't load PL2FileReader.dll at: {self.pl2_dll_file_path}"
154-
"PL2FileReader.dll is bundled with the C++ PL2 Offline Files SDK"
155-
"located on the Plexon Inc website: www.plexon.com"
153+
raise IOError(f"Error: Can't load PL2FileReader.dll at: {self.pl2_dll_file_path}. "
154+
"PL2FileReader.dll is bundled with the C++ PL2 Offline Files SDK "
155+
"located on the Plexon Inc website: www.plexon.com "
156156
"Contact Plexon Support for more information: [email protected]")
157157

158158
def pl2_open_file(self, pl2_file):

0 commit comments

Comments
 (0)