mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 05:37:50 -06:00
Add spaces around binary operators and after comma
Just a little code style thing. Contributes to issue CURA-3828.
This commit is contained in:
parent
7b393064aa
commit
f65043ecc8
1 changed files with 3 additions and 3 deletions
|
@ -712,14 +712,14 @@ class ContainerManager(QObject):
|
|||
if not global_stack:
|
||||
return ""
|
||||
|
||||
approximate_diameter = round(global_stack.getProperty("material_diameter","value"))
|
||||
containers = self._container_registry.findInstanceContainers(id="generic_pla*", approximate_diameter=approximate_diameter)
|
||||
approximate_diameter = round(global_stack.getProperty("material_diameter", "value"))
|
||||
containers = self._container_registry.findInstanceContainers(id = "generic_pla*", approximate_diameter = approximate_diameter)
|
||||
if not containers:
|
||||
Logger.log("d", "Unable to create a new material by cloning Generic PLA, because it cannot be found for the material diameter for this machine.")
|
||||
return ""
|
||||
|
||||
base_file = containers[0].getMetaDataEntry("base_file")
|
||||
containers = self._container_registry.findInstanceContainers(id=base_file)
|
||||
containers = self._container_registry.findInstanceContainers(id = base_file)
|
||||
if not containers:
|
||||
Logger.log("d", "Unable to create a new material by cloning Generic PLA, because the base file for Generic PLA for this machine can not be found.")
|
||||
return ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue