From 8077c16b6a3d6d530583574478a0b627320837e2 Mon Sep 17 00:00:00 2001 From: Oliver Date: Wed, 27 May 2026 19:59:17 +1000 Subject: [PATCH] Fix tasks.py (#824) - Broken invoke on windows --- .gitignore | 1 + tasks.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 8effbf9a..88dc7705 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ *.log *.pyc *.swp +*.salive .DS_Store .atom/ .buildlog/ diff --git a/tasks.py b/tasks.py index 0b7b2e3c..7049aa4e 100644 --- a/tasks.py +++ b/tasks.py @@ -29,7 +29,7 @@ def translate(c): l10_dir = os.path.abspath(l10_dir) python = "python3" if sys.platform.lower() == "darwin" else "python" - c.run(f"cd '{l10_dir}' && {python} collect_translations.py") + c.run(f'cd "{l10_dir}" && {python} collect_translations.py') @task(pre=[clean, update, translate])