From 17177eccfa3d227b5667fa5a4e198727f4f2979f Mon Sep 17 00:00:00 2001 From: Kostas Karmas Date: Mon, 7 Sep 2020 16:33:16 +0200 Subject: [PATCH] Remove unused keyword argument I18ncp already puts the number of printers in the text, so the keyword argument is not longer necessary. CURA-7665 --- .../UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py index 7a007e3874..586c711de9 100644 --- a/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py +++ b/plugins/UM3NetworkPrinting/src/Cloud/CloudOutputDeviceManager.py @@ -463,7 +463,7 @@ class CloudOutputDeviceManager: "You are about to remove {0} printer from Cura. This action cannot be undone.\nAre you sure you want to continue?", "You are about to remove {0} printers from Cura. This action cannot be undone.\nAre you sure you want to continue?", len(remove_printers_ids) - ).format(num_printers = len(remove_printers_ids)) + ) if remove_printers_ids == all_ids: question_content = self.i18n_catalog.i18nc("@label", "You are about to remove all printers from Cura. This action cannot be undone.\nAre you sure you want to continue?") result = QMessageBox.question(None, question_title, question_content)