Skip to content

Commit

Permalink
Project filenames contain whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
suricactus committed Aug 19, 2021
1 parent c126893 commit e74ebac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker-app/orchestrator/orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit e74ebac

Please sign in to comment.