mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
Fix logging
Specify the fully qualified name. Contributes to issues CURA-340 and CURA-1278.
This commit is contained in:
parent
8feed746bf
commit
a9376cffd1
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class ExtruderManager(QObject):
|
||||||
if extruder_definition:
|
if extruder_definition:
|
||||||
extruder_definition = extruder_definition[0]
|
extruder_definition = extruder_definition[0]
|
||||||
else:
|
else:
|
||||||
Logger.log("w", "Machine %s references an extruder with ID %s, which doesn't exist.", machine_definition.getName(), extruder_definition_id)
|
UM.Logger.log("w", "Machine %s references an extruder with ID %s, which doesn't exist.", machine_definition.getName(), extruder_definition_id)
|
||||||
continue
|
continue
|
||||||
name = container_registry.uniqueName(extruder_definition_id) #Make a name based on the ID of the definition.
|
name = container_registry.uniqueName(extruder_definition_id) #Make a name based on the ID of the definition.
|
||||||
if not container_registry.findContainerStacks(id = name): #Doesn't exist yet.
|
if not container_registry.findContainerStacks(id = name): #Doesn't exist yet.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue