Correcting the last comment..

This commit is contained in:
Thomas Karl Pietrowski 2016-06-15 17:33:52 +02:00
parent 51222325b0
commit 6b41608db2

View file

@ -128,7 +128,7 @@ class USBPrinterOutputDeviceManager(QObject, SignalEmitter, OutputDevicePlugin,
return USBPrinterOutputDeviceManager._instance
def _getDefaultFirmwareName(self):
# Check whether getGlobalContainerStack() returns None or not...
# Check if there is a valid global container stack
global_container_stack = Application.getInstance().getGlobalContainerStack()
if not global_container_stack:
Logger.log("e", "There is no global container stack. Can not update firmware.")