summaryrefslogtreecommitdiff
path: root/src/subcircuit/openSub.py
diff options
context:
space:
mode:
authoranjalijaiswal082019-06-21 16:15:02 +0530
committeranjalijaiswal082019-06-26 02:49:20 +0530
commit71851a2df657bd166d6ee81eb00dae0fda2ef3a4 (patch)
treeb2ba852d1f3132e54be25029ae708b8e4404ad16 /src/subcircuit/openSub.py
parentb9957bac0e86410007b0b728e58edeca5aa52d85 (diff)
downloadeSim-71851a2df657bd166d6ee81eb00dae0fda2ef3a4.tar.gz
eSim-71851a2df657bd166d6ee81eb00dae0fda2ef3a4.tar.bz2
eSim-71851a2df657bd166d6ee81eb00dae0fda2ef3a4.zip
Issue #82 solved: Renaming project added
Diffstat (limited to 'src/subcircuit/openSub.py')
-rw-r--r--src/subcircuit/openSub.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/subcircuit/openSub.py b/src/subcircuit/openSub.py
index bebd28a1..dd6e31ac 100644
--- a/src/subcircuit/openSub.py
+++ b/src/subcircuit/openSub.py
@@ -21,9 +21,9 @@ class openSub(QtGui.QWidget):
None, "Open File", "../SubcircuitLibrary"))
if self.editfile:
self.obj_Appconfig = Appconfig()
- self.obj_Appconfig.current_subcircuit['SubcircuitName'] = (
- self.editfile
- )
+ self.obj_Appconfig.current_subcircuit['SubcircuitName'] \
+ = self.editfile
+
self.schname = os.path.basename(self.editfile)
self.editfile = os.path.join(self.editfile, self.schname)
self.cmd = "eeschema " + self.editfile + ".sch "