mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 14:44:13 -06:00
Fixed silly typo
CURA-1538
This commit is contained in:
parent
b899c65027
commit
ea80159939
1 changed files with 2 additions and 2 deletions
|
@ -61,8 +61,8 @@ class MachineActionManager:
|
|||
## Add a (unique) MachineAction
|
||||
# if the Key of the action is not unique, an exception is raised.
|
||||
def addMachineAction(self, action):
|
||||
if action.getKey() not in self._machine_action:
|
||||
self._machine_action[action.getKey()] = action
|
||||
if action.getKey() not in self._machine_actions:
|
||||
self._machine_actions[action.getKey()] = action
|
||||
else:
|
||||
raise NotUniqueMachineAction("MachineAction with key %s was already added. Actions must have unique keys.", action.getKey())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue