diff --git a/plugins/USBPrinting/USBPrinterManager.py b/plugins/USBPrinting/USBPrinterManager.py index e9b3763413..47db383e32 100644 --- a/plugins/USBPrinting/USBPrinterManager.py +++ b/plugins/USBPrinting/USBPrinterManager.py @@ -59,7 +59,7 @@ class USBPrinterManager(QObject, SignalEmitter, OutputDevicePlugin, Extension): @pyqtProperty(float, notify = progressChanged) def progress(self): progress = 0 - for name, connection in self._printer_connections.items(): + for printer_name, connection in self._printer_connections.items(): progress += connection.progress return progress / len(self._printer_connections)