Return an empty string just to be sure

This commit is contained in:
Thomas Karl Pietrowski 2016-06-15 17:43:28 +02:00
parent 6b41608db2
commit 7ef64cd05b

View file

@ -133,6 +133,7 @@ class USBPrinterOutputDeviceManager(QObject, SignalEmitter, OutputDevicePlugin,
if not global_container_stack:
Logger.log("e", "There is no global container stack. Can not update firmware.")
self._firmware_view.close()
return ""
# The bottom of the containerstack is the machine definition
machine_id = global_container_stack.getBottom().id