mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-20 21:27:50 -06:00
Remove a number of unused variables
This commit is contained in:
parent
6a6ad6e815
commit
fe27da5e8a
8 changed files with 7 additions and 12 deletions
|
@ -72,8 +72,6 @@ class DiscoveredPrinter(QObject):
|
|||
# Human readable machine type string
|
||||
@pyqtProperty(str, notify = machineTypeChanged)
|
||||
def readableMachineType(self) -> str:
|
||||
from cura.CuraApplication import CuraApplication
|
||||
machine_manager = CuraApplication.getInstance().getMachineManager()
|
||||
# In NetworkOutputDevice, when it updates a printer information, it updates the machine type using the field
|
||||
# "machine_variant", and for some reason, it's not the machine type ID/codename/... but a human-readable string
|
||||
# like "Ultimaker 3". The code below handles this case.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue