diff options
Diffstat (limited to 'src/subcircuit/uploadSub.py')
-rw-r--r-- | src/subcircuit/uploadSub.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/subcircuit/uploadSub.py b/src/subcircuit/uploadSub.py index 4bb8df34..25a6e7d4 100644 --- a/src/subcircuit/uploadSub.py +++ b/src/subcircuit/uploadSub.py @@ -7,9 +7,9 @@ import shutil class UploadSub(QtGui.QWidget): """ - This class contain function for ulaoding subcircuits - in Subcircuit library present in src folder. - A folder is created in src/SubcircuitLibrary + This class contain function for uploading subcircuits + in SubcircuitLibrary present in src folder. + A folder is created in library/SubcircuitLibrary and desired file is moved to that folder. """ @@ -64,7 +64,9 @@ class UploadSub(QtGui.QWidget): return subcircuit_path = os.path.join( - os.path.abspath('..'), 'SubcircuitLibrary', create_subcircuit) + os.path.abspath('library'), + 'SubcircuitLibrary', create_subcircuit + ) reply = self.obj_validation.validateNewproj(subcircuit_path) |