Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2016-04-29 13:02:24 +0300
committerJaime van Kessel <nallath@gmail.com>2016-04-29 13:02:24 +0300
commitea8015993954773b75e125836b66f71b883e3c58 (patch)
tree6ca952d78a5b447d7a8fac49484cee812c183ca5 /cura/MachineActionManager.py
parentb899c65027793e691c2cac4354d47841ce97a280 (diff)
Fixed silly typo
CURA-1538
Diffstat (limited to 'cura/MachineActionManager.py')
-rw-r--r--cura/MachineActionManager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/MachineActionManager.py b/cura/MachineActionManager.py
index 1975ba35bc..b7dc89ea8c 100644
--- a/cura/MachineActionManager.py
+++ b/cura/MachineActionManager.py
@@ -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())