diff options
author | fahim | 2015-06-15 12:44:41 +0530 |
---|---|---|
committer | fahim | 2015-06-15 12:44:41 +0530 |
commit | 8836b0c4b3c15a65c1bfb3b99490c7f04e79b254 (patch) | |
tree | 7a90fe3b784fb7df7d4d292691f6d12c3849d9d3 /src/kicadtoNgspice/KicadtoNgspice.py | |
parent | 0e3b9d36db73b525ece44933b88e49731e6f2ff1 (diff) | |
download | eSim-8836b0c4b3c15a65c1bfb3b99490c7f04e79b254.tar.gz eSim-8836b0c4b3c15a65c1bfb3b99490c7f04e79b254.tar.bz2 eSim-8836b0c4b3c15a65c1bfb3b99490c7f04e79b254.zip |
Subject: Bug fixing for xml generation
Description: Bug fixing for xml generation
Diffstat (limited to 'src/kicadtoNgspice/KicadtoNgspice.py')
-rw-r--r-- | src/kicadtoNgspice/KicadtoNgspice.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/kicadtoNgspice/KicadtoNgspice.py b/src/kicadtoNgspice/KicadtoNgspice.py index 4677c20d..cf70eab9 100644 --- a/src/kicadtoNgspice/KicadtoNgspice.py +++ b/src/kicadtoNgspice/KicadtoNgspice.py @@ -133,8 +133,7 @@ class MainWindow(QtGui.QWidget): global analysisoutput kicadFile = sys.argv[1] (projpath,filename)=os.path.split(kicadFile) - project_name=projpath.split("/") - project_name=project_name[len(project_name)-1] + project_name=os.path.basename(projpath) print "PROJ PATH---",projpath |