Fix spelling of error message in the log

Found during investigation of #6828.
This commit is contained in:
Ghostkeeper 2019-12-20 09:54:07 +01:00
parent 4773c4eaf3
commit 15ba762847
No known key found for this signature in database
GPG key ID: 37E2020986774393

View file

@ -43,7 +43,7 @@ class CuraFormulaFunctions:
extruder_stack = global_stack.extruderList[int(extruder_position)] extruder_stack = global_stack.extruderList[int(extruder_position)]
except IndexError: except IndexError:
if extruder_position != 0: if extruder_position != 0:
Logger.log("w", "Value for %s of extruder %s was requested, but that extruder is not available. Returning the result form extruder 0 instead" % (property_key, extruder_position)) Logger.log("w", "Value for %s of extruder %s was requested, but that extruder is not available. Returning the result from extruder 0 instead" % (property_key, extruder_position))
# This fixes a very specific fringe case; If a profile was created for a custom printer and one of the # This fixes a very specific fringe case; If a profile was created for a custom printer and one of the
# extruder settings has been set to non zero and the profile is loaded for a machine that has only a single extruder # extruder settings has been set to non zero and the profile is loaded for a machine that has only a single extruder
# it would cause all kinds of issues (and eventually a crash). # it would cause all kinds of issues (and eventually a crash).