diff options
| author | user@node5.net <user@node5.net> | 2026-06-07 20:22:17 +0200 |
|---|---|---|
| committer | user@node5.net <user@node5.net> | 2026-06-07 20:22:17 +0200 |
| commit | 5f9c29567388829eab1f7b58b260b8a90b441ed3 (patch) | |
| tree | 832b05dc9b3fd7d290feffb1eb31254ac0b7ad80 /src | |
| parent | f81d31dd2d600427aa10b658a2c2fc39b9d22f9a (diff) | |
git clone - fix path on nixos uwsgi
Diffstat (limited to 'src')
| -rw-r--r-- | src/blog_node5_net.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blog_node5_net.py b/src/blog_node5_net.py index 6509bc2..bb70f29 100644 --- a/src/blog_node5_net.py +++ b/src/blog_node5_net.py @@ -62,7 +62,7 @@ logger.debug(f'site_files_path: {site_files_path}') pathlib.Path(articles_path).mkdir(parents=True, exist_ok=True) if pathlib.Path(articles_path).exists() and not any(pathlib.Path(articles_path).iterdir()): logger.info(f"Articles path {articles_path} is empty, cloning {articles_repo_url} into {articles_path}") - subprocess.run(["git", "clone", articles_repo_url, articles_path], check=True) + subprocess.run(f'bash -c \'git clone "{articles_repo_url}" "{articles_path}"\'', shell=True, check=True) article_generator = article.ArticleGenerator(articles_path) |
