diff options
author | Fahim | 2015-12-03 17:58:34 +0530 |
---|---|---|
committer | Fahim | 2015-12-03 17:58:34 +0530 |
commit | 2b2c5b56054d1175967fa0b40e0a78ec491063e6 (patch) | |
tree | 4ab4802492684f7c7379d5cd7491b712eadf7fdc /src/pspicetoKicad/ImportPspice.py | |
parent | 67eca7791f058f240b7e7e9c77de7fa02bf37bca (diff) | |
download | eSim-2b2c5b56054d1175967fa0b40e0a78ec491063e6.tar.gz eSim-2b2c5b56054d1175967fa0b40e0a78ec491063e6.tar.bz2 eSim-2b2c5b56054d1175967fa0b40e0a78ec491063e6.zip |
Subject: Changes of Pspice converter for Windows 32bit
Description: Changes of Pspice converter for Windows 32bit
Diffstat (limited to 'src/pspicetoKicad/ImportPspice.py')
-rw-r--r-- | src/pspicetoKicad/ImportPspice.py | 6 |
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") |