mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Last cleanup
Removing useless comments and replacing the log message with something more simple.
This commit is contained in:
parent
2e7db9b732
commit
51222325b0
1 changed files with 2 additions and 4 deletions
|
@ -131,14 +131,12 @@ class USBPrinterOutputDeviceManager(QObject, SignalEmitter, OutputDevicePlugin,
|
|||
# Check whether getGlobalContainerStack() returns None or not...
|
||||
global_container_stack = Application.getInstance().getGlobalContainerStack()
|
||||
if not global_container_stack:
|
||||
Logger.log("c", "getGlobalContainerStack() returned None")
|
||||
Logger.log("i", "Closing firmware-updater UI as a consequence")
|
||||
Logger.log("e", "There is no global container stack. Can not update firmware.")
|
||||
self._firmware_view.close()
|
||||
|
||||
# Detecting id of the current machine
|
||||
# The bottom of the containerstack is the machine definition
|
||||
machine_id = global_container_stack.getBottom().id
|
||||
|
||||
# Detecting whether it has a heated bed
|
||||
machine_has_heated_bed = global_container_stack.getProperty("machine_heated_bed", "value")
|
||||
|
||||
if platform.system() == "Linux":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue