summaryrefslogtreecommitdiff
path: root/src/ngspicetoModelica
diff options
context:
space:
mode:
authornilshah982019-06-07 18:06:05 +0530
committernilshah982019-06-13 12:15:50 +0530
commit1970530f0818577ef6fb1b2018d76829195c87e9 (patch)
tree667f63f752b4f85730a9ea3b8bcc368ccaf82d73 /src/ngspicetoModelica
parentd620109c1255aa4af35aa8f86f0e147b709d9b9c (diff)
downloadeSim-1970530f0818577ef6fb1b2018d76829195c87e9.tar.gz
eSim-1970530f0818577ef6fb1b2018d76829195c87e9.tar.bz2
eSim-1970530f0818577ef6fb1b2018d76829195c87e9.zip
python calls updated to python3 calls
Diffstat (limited to 'src/ngspicetoModelica')
-rw-r--r--src/ngspicetoModelica/ModelicaUI.py2
-rw-r--r--src/ngspicetoModelica/NgspicetoModelica.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ngspicetoModelica/ModelicaUI.py b/src/ngspicetoModelica/ModelicaUI.py
index daef6e76..1d860fb7 100644
--- a/src/ngspicetoModelica/ModelicaUI.py
+++ b/src/ngspicetoModelica/ModelicaUI.py
@@ -52,7 +52,7 @@ class OpenModelicaEditor(QtGui.QWidget):
def callConverter(self):
try:
- self.cmd1 = "python ../ngspicetoModelica/NgspicetoModelica.py " + \
+ self.cmd1 = "python3 ../ngspicetoModelica/NgspicetoModelica.py " + \
self.ngspiceNetlist + ' ' + self.map_json
# self.obj_workThread1 = Worker.WorkerThread(self.cmd1)
# self.obj_workThread1.start()
diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py
index dfeafb53..007c5a74 100644
--- a/src/ngspicetoModelica/NgspicetoModelica.py
+++ b/src/ngspicetoModelica/NgspicetoModelica.py
@@ -1268,7 +1268,7 @@ def main(args):
map_json = sys.argv[2]
else:
print("USAGE:")
- print("python NgspicetoModelica.py <filename>")
+ print("python3 NgspicetoModelica.py <filename>")
sys.exit()
dir_name = os.path.dirname(os.path.realpath(filename))