Skip to content

Commit

Permalink
Need to turn the WindowsPath object into a str. Fixes #433. (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
garnaat authored Apr 9, 2019
1 parent 6265bf6 commit fe942b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def _jsii_runtime(self):
assert os.path.commonpath(paths) == os.path.dirname(paths[0])

# Return our first path, which should be the path for jsii-runtime.js
return paths[0]
return str(paths[0])

def _next_message(self) -> Mapping[Any, Any]:
return json.loads(self._process.stdout.readline(), object_hook=ohook)
Expand Down

0 comments on commit fe942b3

Please sign in to comment.