diff options
Diffstat (limited to 'src/ngspicetoModelica/ModelicaUI.py')
-rw-r--r-- | src/ngspicetoModelica/ModelicaUI.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngspicetoModelica/ModelicaUI.py b/src/ngspicetoModelica/ModelicaUI.py index f8889cce..cd5cf03b 100644 --- a/src/ngspicetoModelica/ModelicaUI.py +++ b/src/ngspicetoModelica/ModelicaUI.py @@ -163,7 +163,7 @@ class OpenModelicaEditor(QtGui.QWidget): newfile = os.path.basename(self.ngspiceNetlist) newfilename = os.path.join(fileDir, newfile.split('.')[0]) outfile = newfilename + ".mo" - + out = open(outfile, "w") out.writelines('model ' + os.path.basename(newfilename)) out.writelines('\n') |