mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 17:45:56 +08:00
Fixed silly typo
CURA-1538
This commit is contained in:
parent
b899c65027
commit
ea80159939
@ -61,8 +61,8 @@ class MachineActionManager:
|
|||||||
## Add a (unique) MachineAction
|
## Add a (unique) MachineAction
|
||||||
# if the Key of the action is not unique, an exception is raised.
|
# if the Key of the action is not unique, an exception is raised.
|
||||||
def addMachineAction(self, action):
|
def addMachineAction(self, action):
|
||||||
if action.getKey() not in self._machine_action:
|
if action.getKey() not in self._machine_actions:
|
||||||
self._machine_action[action.getKey()] = action
|
self._machine_actions[action.getKey()] = action
|
||||||
else:
|
else:
|
||||||
raise NotUniqueMachineAction("MachineAction with key %s was already added. Actions must have unique keys.", action.getKey())
|
raise NotUniqueMachineAction("MachineAction with key %s was already added. Actions must have unique keys.", action.getKey())
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user