diff options
Diffstat (limited to 'src/modelEditor/ModelEditor.py')
-rw-r--r-- | src/modelEditor/ModelEditor.py | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/modelEditor/ModelEditor.py b/src/modelEditor/ModelEditor.py index 3bfdcfac..9378ae25 100644 --- a/src/modelEditor/ModelEditor.py +++ b/src/modelEditor/ModelEditor.py @@ -484,10 +484,10 @@ class ModelEditorclass(QtGui.QWidget): self.modelname + ' ' + self.model_name + - '(\n') + '(') for tags, text in list(self.modeldict.items()): - txtfile.write('+ ' + tags + '=' + text + '\n') - txtfile.write(')') + txtfile.write(' ' + tags + '=' + text) + txtfile.write(' )\n') tree.write(self.modelname + ".xml") self.obj_appconfig.print_info( 'New ' + @@ -505,10 +505,10 @@ class ModelEditorclass(QtGui.QWidget): self.modelname + ' ' + self.model_name + - '(\n') + '(') for tags, text in list(self.modeldict.items()): - txtfile.write('+ ' + tags + '=' + text + '\n') - txtfile.write(')') + txtfile.write(' ' + tags + '=' + text) + txtfile.write(' )\n') tree.write(self.modelname + ".xml") self.obj_appconfig.print_info( 'New ' + @@ -526,10 +526,10 @@ class ModelEditorclass(QtGui.QWidget): self.modelname + ' ' + self.model_name + - '(\n') + '(') for tags, text in list(self.modeldict.items()): - txtfile.write('+ ' + tags + '=' + text + '\n') - txtfile.write(')') + txtfile.write(' ' + tags + '=' + text) + txtfile.write(' )\n') tree.write(self.modelname + ".xml") self.obj_appconfig.print_info( 'New ' + @@ -547,10 +547,10 @@ class ModelEditorclass(QtGui.QWidget): self.modelname + ' ' + self.model_name + - '(\n') + '(') for tags, text in list(self.modeldict.items()): - txtfile.write('+ ' + tags + '=' + text + '\n') - txtfile.write(')') + txtfile.write(' ' + tags + '=' + text) + txtfile.write(' )\n') tree.write(self.modelname + ".xml") self.obj_appconfig.print_info( 'New ' + @@ -568,10 +568,10 @@ class ModelEditorclass(QtGui.QWidget): self.modelname + ' ' + self.model_name + - '(\n') + '(') for tags, text in list(self.modeldict.items()): - txtfile.write('+ ' + tags + '=' + text + '\n') - txtfile.write(')') + txtfile.write(' ' + tags + '=' + text) + txtfile.write(' )\n') tree.write(self.modelname + ".xml") self.obj_appconfig.print_info( 'New ' + @@ -589,10 +589,10 @@ class ModelEditorclass(QtGui.QWidget): self.modelname + ' ' + self.model_name + - '(\n') + '(') for tags, text in list(self.modeldict.items()): - txtfile.write('+ ' + tags + '=' + text + '\n') - txtfile.write(')') + txtfile.write(' ' + tags + '=' + text) + txtfile.write(' )\n') tree.write(self.modelname + ".xml") self.obj_appconfig.print_info( 'New ' + @@ -637,10 +637,10 @@ class ModelEditorclass(QtGui.QWidget): self.ref_model + ' ' + self.model_name + - '(\n') + '(') for tags, text in list(self.modeldict.items()): - libfile.write('+ ' + tags + '=' + text + '\n') - libfile.write(')') + libfile.write(' ' + tags + '=' + text) + libfile.write(' )\n') libfile.close() root = ET.Element("library") |