Fix crash with removedPrinterMessage

This commit is contained in:
Jaime van Kessel 2022-09-01 14:12:02 +02:00
parent f6190f9b23
commit 6563ba32b4
No known key found for this signature in database
GPG Key ID: C85F7A3AF1BAA7C4

View File

@ -15,7 +15,7 @@ class RemovedPrintersMessage(Message):
"info:status", "info:status",
"This printer is not linked to the Digital Factory:", "This printer is not linked to the Digital Factory:",
"These printers are not linked to the Digital Factory:", "These printers are not linked to the Digital Factory:",
len(self.removed_devices) len(self._removed_devices)
) )
message_text += "<br/><ul>{}</ul><br/>".format(device_names) message_text += "<br/><ul>{}</ul><br/>".format(device_names)