diff --git a/tasks.py b/tasks.py index 9c75e5a2..0b7b2e3c 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])