Skip to content

Commit a2dbe22

Browse files
committed
fix: Correct flake8 errors in _direct.py
1 parent e1fe226 commit a2dbe22

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/itoolkit/transport/_direct.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,12 @@ def __init__(self, library):
124124
path = "{library}/XMLSTOREDP".format(library=library)
125125
actgrp = _ILELOADX(path.encode(), ILELOAD_LIBOBJ)
126126
if actgrp == 0xffffffffffffffff:
127-
raise OSError("{path} not found".format(path))
127+
raise OSError("{path} not found".format(path=path))
128128

129129
self._RUNASCII = ILEPointer()
130130
if _ILESYMX(self._RUNASCII, actgrp, b"RUNASCII") != ILESYM_PROCEDURE:
131-
raise OSError("RUNASCII procedure not found in {path}".format(path))
131+
raise OSError("RUNASCII procedure not found in {path}"
132+
.format(path=path))
132133

133134
def __call__(self, xmlin, ipc, ctl):
134135
ipc = c_char_p(ipc.encode())

0 commit comments

Comments
 (0)