diff --git a/src/engine/src/core/tasks/TaskInputFileStagingService.py b/src/engine/src/core/tasks/TaskInputFileStagingService.py index f5a65b9c..136c6592 100644 --- a/src/engine/src/core/tasks/TaskInputFileStagingService.py +++ b/src/engine/src/core/tasks/TaskInputFileStagingService.py @@ -64,7 +64,7 @@ def stage(self, task: Task): def _create_input_(self, task, input_id, value): try: with open(os.path.join(task.input_dir, input_id), mode="w") as file: - if value == None: value == "" + if value == None: value = "" file.write(str(value)) except Exception as e: raise TaskInputStagingError(f"Error while staging input: {e}")