summaryrefslogtreecommitdiff
path: root/src/subcircuit/openSub.py
diff options
context:
space:
mode:
authorSunil Shetye2019-06-27 17:06:52 +0530
committerGitHub2019-06-27 17:06:52 +0530
commit9fca9eec6fd4ee2001361d2b459d13dcb0a8a924 (patch)
tree4c23d5d525f835933459388ed2bfce8d7b053f9c /src/subcircuit/openSub.py
parenta620e3f94c46f02d7ee1b58bdb5fb7cc8e7be2f1 (diff)
parent9e3dbaf428a899e34490cbfcb11ca7c9bb7af60a (diff)
downloadeSim-9fca9eec6fd4ee2001361d2b459d13dcb0a8a924.tar.gz
eSim-9fca9eec6fd4ee2001361d2b459d13dcb0a8a924.tar.bz2
eSim-9fca9eec6fd4ee2001361d2b459d13dcb0a8a924.zip
Merge pull request #104 from anjalijaiswal08/RenameProject
Rename project Done
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 "