Browse Source

Add spaces around binary operators and after comma

Just a little code style thing.

Contributes to issue CURA-3828.
Ghostkeeper 7 years ago
parent
commit
f65043ecc8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      cura/Settings/ContainerManager.py

+ 3 - 3
cura/Settings/ContainerManager.py

@@ -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 ""