From e74ebaccb510b0338d07716bc5a36c4d926ba450 Mon Sep 17 00:00:00 2001 From: Ivan Ivanov Date: Thu, 19 Aug 2021 10:14:56 +0300 Subject: [PATCH] Project filenames contain whitespaces --- docker-app/orchestrator/orchestrator.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-app/orchestrator/orchestrator.py b/docker-app/orchestrator/orchestrator.py index c4a38a725..feca42152 100644 --- a/docker-app/orchestrator/orchestrator.py +++ b/docker-app/orchestrator/orchestrator.py @@ -210,12 +210,12 @@ def _run_docker( class ExportJobRun(JobRun): job_class = ExportJob - command = "export %(project__id)s %(project__project_filename)s" + command = "export %(project__id)s '%(project__project_filename)s'" class DeltaApplyJobRun(JobRun): job_class = ApplyJob - command = "delta_apply %(project__id)s %(project__project_filename)s" + command = "delta_apply %(project__id)s '%(project__project_filename)s'" def get_command(self) -> str: command = super().get_command() @@ -310,7 +310,7 @@ def after_docker(self) -> None: class ProcessProjectfileJobRun(JobRun): job_class = ProcessProjectfileJob - command = "process_projectfile %(project__id)s %(project__project_filename)s" + command = "process_projectfile %(project__id)s '%(project__project_filename)s'" def after_docker(self) -> None: thumbnail_filename = self.host_tempdir.joinpath("thumbnail.png")