diff options
author | Mark Burton <markb@smartavionics.com> | 2019-10-17 18:42:43 +0300 |
---|---|---|
committer | Mark Burton <markb@smartavionics.com> | 2019-10-17 18:43:07 +0300 |
commit | 82bd89991e7ee6f15da5ec1baa0d22111796842a (patch) | |
tree | b73cf2725e60b401ae09cc10e4a6b8d10d24b76e /plugins/CuraEngineBackend | |
parent | f3f9a2393f26ec02d0d25aa64d37c8706bd20eb0 (diff) |
Improve code style.
Diffstat (limited to 'plugins/CuraEngineBackend')
-rw-r--r-- | plugins/CuraEngineBackend/StartSliceJob.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CuraEngineBackend/StartSliceJob.py b/plugins/CuraEngineBackend/StartSliceJob.py index 06ef2d97b1..94f6d3edfa 100644 --- a/plugins/CuraEngineBackend/StartSliceJob.py +++ b/plugins/CuraEngineBackend/StartSliceJob.py @@ -107,7 +107,7 @@ class StartSliceJob(Job): return False # if there are no per-object settings we don't need to check the other settings here - if stack.getTop() == None or len(stack.getTop().getAllKeys()) == 0: + if stack.getTop() is None or not stack.getTop().getAllKeys(): return False for key in stack.getAllKeys(): |