mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 12:39:03 +08:00
Don't test with is not
for a literal
This commit is contained in:
parent
46df77543b
commit
eb4451f25c
@ -23,7 +23,7 @@ class ActiveQuality:
|
|||||||
string_parts.append(self.custom_profile)
|
string_parts.append(self.custom_profile)
|
||||||
else:
|
else:
|
||||||
string_parts.append(self.profile)
|
string_parts.append(self.profile)
|
||||||
if self.intent_category is not "default":
|
if self.intent_category != "default":
|
||||||
string_parts.append(self.intent_name)
|
string_parts.append(self.intent_name)
|
||||||
|
|
||||||
return string_parts
|
return string_parts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user