Remove a number of unused variables

This commit is contained in:
Jaime van Kessel 2020-04-10 13:46:19 +02:00
parent 6a6ad6e815
commit fe27da5e8a
No known key found for this signature in database
GPG key ID: 3710727397403C91
8 changed files with 7 additions and 12 deletions

View file

@ -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.