mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-03 12:03:57 -06:00
Use bracket to initialise list
Co-authored-by: Joey de l'Arago <joeydelarago@gmail.com>
This commit is contained in:
parent
4fa024cd31
commit
a645fa7d96
1 changed files with 1 additions and 1 deletions
|
@ -1634,7 +1634,7 @@ class MachineManager(QObject):
|
||||||
@pyqtProperty("QList<QString>", notify = activeQualityDisplayNameChanged)
|
@pyqtProperty("QList<QString>", notify = activeQualityDisplayNameChanged)
|
||||||
def activeQualityDisplayNameStringParts(self) -> [str]:
|
def activeQualityDisplayNameStringParts(self) -> [str]:
|
||||||
result_map = self.activeQualityDisplayNameMap
|
result_map = self.activeQualityDisplayNameMap
|
||||||
string_parts = list()
|
string_parts = []
|
||||||
|
|
||||||
if result_map["custom_profile"] is not None:
|
if result_map["custom_profile"] is not None:
|
||||||
string_parts.append(result_map["custom_profile"])
|
string_parts.append(result_map["custom_profile"])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue