mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Improve code style.
This commit is contained in:
parent
f3f9a2393f
commit
82bd89991e
1 changed files with 1 additions and 1 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue