Skip to content

Commit 9a856d0

Browse files
committed
Serve outdir as absolute
1 parent ae4367c commit 9a856d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fetch_python_docs.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
# Use a different port from 8000 to avoid conflicting with other
4747
# instances of http.server
4848
server = subprocess.Popen(
49-
[sys.executable, "-m", "http.server", "-d", outdir, "8004"]
49+
[sys.executable, "-m", "http.server", "-d", outdir.absolute(), "8004"]
5050
)
5151
time.sleep(0.5)
5252
webbrowser.open("http://localhost:8004")

0 commit comments

Comments
 (0)