diff options
| author | Dan Davison <dandavison7@gmail.com> | 2024-08-20 10:37:14 -0400 |
|---|---|---|
| committer | Dan Davison <dandavison7@gmail.com> | 2024-08-20 10:37:14 -0400 |
| commit | 3593c944b109ff2415744e9e0a53fe8de3ee9f2d (patch) | |
| tree | 3cb5c2b380be9650667cabb00fb007af18a3d869 | |
| parent | d8fa93eded6c952155713a517de159b7bfbd9bac (diff) | |
Clean up Python server example...
| -rw-r--r-- | manual/src/hyperlinks.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/manual/src/hyperlinks.md b/manual/src/hyperlinks.md index 3e4ef21..d6caaed 100644 --- a/manual/src/hyperlinks.md +++ b/manual/src/hyperlinks.md @@ -46,9 +46,7 @@ If your editor does not have its own URL protocol, then there are still many pos query = parse_qs(urlparse(self.path).query) [path], [line] = query["path"], query["line"] # TODO: Replace with the appropriate command for your editor - cwd = Path(path).parent - print("cwd", cwd) - call(["code", "-g", f"{path}:{line}"], cwd=cwd) + call(["code", "-g", f"{path}:{line}"], cwd=Path(path).parent) self.send_response(200) else: self.send_response(404) |
