From e1bc5d0f74ac31361ba07ea78cc351222177d363 Mon Sep 17 00:00:00 2001 From: Mark Date: Thu, 5 Jul 2018 11:25:22 +0200 Subject: [PATCH] fix typing --- plugins/CuraEngineBackend/StartSliceJob.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/CuraEngineBackend/StartSliceJob.py b/plugins/CuraEngineBackend/StartSliceJob.py index 78dd4eafd2..237c1f2dda 100644 --- a/plugins/CuraEngineBackend/StartSliceJob.py +++ b/plugins/CuraEngineBackend/StartSliceJob.py @@ -234,8 +234,8 @@ class StartSliceJob(Job): if has_model_with_disabled_extruders: self.setResult(StartJobResult.ObjectsWithDisabledExtruder) - associated_disabled_extruders = [str(c) for c in sorted([int(p) + 1 for p in associated_disabled_extruders])] - self.setMessage(", ".join(associated_disabled_extruders)) + associated_disabled_extruders_message = [str(c) for c in sorted([int(p) + 1 for p in associated_disabled_extruders])] + self.setMessage(", ".join(associated_disabled_extruders_message)) return # There are cases when there is nothing to slice. This can happen due to one at a time slicing not being