From a645fa7d96cbf4da5c09943cf472c951d8f5f316 Mon Sep 17 00:00:00 2001 From: Casper Lamboo Date: Mon, 28 Nov 2022 11:22:53 +0100 Subject: [PATCH] Use bracket to initialise list Co-authored-by: Joey de l'Arago --- cura/Settings/MachineManager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/Settings/MachineManager.py b/cura/Settings/MachineManager.py index 657eeb6089..28a79b6fd3 100755 --- a/cura/Settings/MachineManager.py +++ b/cura/Settings/MachineManager.py @@ -1634,7 +1634,7 @@ class MachineManager(QObject): @pyqtProperty("QList", notify = activeQualityDisplayNameChanged) def activeQualityDisplayNameStringParts(self) -> [str]: result_map = self.activeQualityDisplayNameMap - string_parts = list() + string_parts = [] if result_map["custom_profile"] is not None: string_parts.append(result_map["custom_profile"])