summaryrefslogtreecommitdiff
path: root/src/pspicetoKicad/ImportPspice.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/pspicetoKicad/ImportPspice.py')
-rw-r--r--src/pspicetoKicad/ImportPspice.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pspicetoKicad/ImportPspice.py b/src/pspicetoKicad/ImportPspice.py
index 807726ee..6709b343 100644
--- a/src/pspicetoKicad/ImportPspice.py
+++ b/src/pspicetoKicad/ImportPspice.py
@@ -34,7 +34,7 @@ class ImportPspiceLibrary(QtGui.QWidget):
else:
self.cmd = "../pspicetoKicad/libConverter32 "+self.arg
elif platform.system() == 'Windows':
- self.cmd = os.path.join(os.path.split(os.path.realpath(__file__))[0],'libConverter.exe')
+ self.cmd = os.path.join(os.path.split(os.path.realpath(__file__))[0],'libConverter32.exe')
self.status = os.system(str(self.cmd))
@@ -144,7 +144,7 @@ class ConvertPspiceKicad(QtGui.QWidget):
self.cmd = "../pspicetoKicad/schConverter32 "+self.arg1+" "+self.arg2
elif platform.system() == 'Windows':
print "Needs to include for Windows"
- self.cmd = os.path.join(os.path.split(os.path.realpath(__file__))[0],'converter.exe')+" "+self.arg1+" "+self.arg2
+ self.cmd = os.path.join(os.path.split(os.path.realpath(__file__))[0],'schConverter32.exe')+" "+self.arg1+" "+self.arg2
#Running command
self.status = os.system(str(self.cmd))
@@ -170,4 +170,4 @@ class ConvertPspiceKicad(QtGui.QWidget):
self.msg = QtGui.QErrorMessage(None)
self.msg.showMessage('Error while removing existing project. <br/> Please check whether directory is Read only.')
self.obj_Appconfig.print_error('Error while removing existing project')
- self.msg.setWindowTitle("Error Message") \ No newline at end of file
+ self.msg.setWindowTitle("Error Message")