Skip to content
Snippets Groups Projects
Commit fccd9853e048 authored by jfp's avatar jfp
Browse files

Result is bytes, not Array[c_char]

parent 601acd250e2a
Branches
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@
self.nullArg,
ctypes.byref(self.resultant_length),
)
res = self.new_filespec[: self.resultant_length.value]
res = bytes(self.new_filespec[: self.resultant_length.value])
# Check if the device is file oriented, lib$find_file return a file if
# a device like NLA0: is used
if (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment