mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 23:46:22 -06:00
Rename name to printer_name
"name" is a built-in function
This commit is contained in:
parent
3b58d1e2a5
commit
af280b782e
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class USBPrinterManager(QObject, SignalEmitter, OutputDevicePlugin, Extension):
|
||||||
@pyqtProperty(float, notify = progressChanged)
|
@pyqtProperty(float, notify = progressChanged)
|
||||||
def progress(self):
|
def progress(self):
|
||||||
progress = 0
|
progress = 0
|
||||||
for name, connection in self._printer_connections.items():
|
for printer_name, connection in self._printer_connections.items():
|
||||||
progress += connection.progress
|
progress += connection.progress
|
||||||
|
|
||||||
return progress / len(self._printer_connections)
|
return progress / len(self._printer_connections)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue