Fix logging

Specify the fully qualified name.

Contributes to issues CURA-340 and CURA-1278.
This commit is contained in:
Ghostkeeper 2016-06-07 13:41:28 +02:00
parent 8feed746bf
commit a9376cffd1
No known key found for this signature in database
GPG Key ID: 701948C5954A7385

View File

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