Skip to content

Commit

Permalink
fix: set python to the current interpreter
Browse files Browse the repository at this point in the history
Setting python to python3 create issues on Windows.
  • Loading branch information
keyboard-slayer committed Sep 25, 2024
1 parent b525f4f commit 8ed4304
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion meta/plugins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
ensure((0, 7, 0))

import http.server
import sys
import os
from pathlib import Path
import markdown
Expand Down Expand Up @@ -172,7 +173,7 @@ def _(args: BuildArgs):
os.chdir(SITE_BUILD_DIR)

print(f"{CAT} Serving site")
shell.exec("python3", "-m", "http.server")
shell.exec(sys.executable, "-m", "http.server")


@cli.command("e", "cat/init", "Initialize the site")
Expand Down

0 comments on commit 8ed4304

Please sign in to comment.