Skip to content

Commit

Permalink
if value is a string make it lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
saumyaj3 committed Oct 4, 2023
1 parent b980b6b commit 5b6fea9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cura/Settings/CuraFormulaFunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ def getValuesInAllExtruders(self, property_key: str,
if isinstance(value, SettingFunction):
value = value(extruder, context = context)

if isinstance(value, str):
value = value.lower()

result.append(value)

if not result:
Expand Down

0 comments on commit 5b6fea9

Please sign in to comment.