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:
authorc.lamboo <casperlamboo@gmail.com>2022-08-19 15:44:19 +0300
committerc.lamboo <casperlamboo@gmail.com>2022-08-19 15:44:19 +0300
commit761bf3b8fab02b8884d1780b211abfd92b8ced53 (patch)
tree25d15e5c5d2c33597464095912f2bdef80242a38 /cura/Settings
parentb82f1f4a8c66fbe0a587d1f0cc6a15b0ee55d421 (diff)
Fix creating abstract machines on account sync
Cura-9277 Co-authored-by: joeydelarago <joeydelarago@gmail.com>
Diffstat (limited to 'cura/Settings')
-rw-r--r--cura/Settings/AbstractMachine.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/Settings/AbstractMachine.py b/cura/Settings/AbstractMachine.py
index 0dd4dfb1c0..837cfad4bd 100644
--- a/cura/Settings/AbstractMachine.py
+++ b/cura/Settings/AbstractMachine.py
@@ -6,8 +6,8 @@ from cura.Settings.GlobalStack import GlobalStack
class AbstractMachine(GlobalStack):
""" Behaves as a type of machine, represents multiple machines of the same type """
- def __init__(self):
- super(self)
+ def __init__(self, container_id: str):
+ super().__init__(container_id)
self.setMetaDataEntry("type", "abstract_machine")
def getMachinesOfType(self) -> List[GlobalStack]: