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

@ -50,7 +50,7 @@ class USBPrinterOutputDeviceManager(QObject, OutputDevicePlugin):
# The method updates/reset the USB settings for all connected USB devices
def updateUSBPrinterOutputDevices(self):
for key, device in self._usb_output_devices.items():
for device in self._usb_output_devices.values():
if isinstance(device, USBPrinterOutputDevice.USBPrinterOutputDevice):
device.resetDeviceSettings()