summaryrefslogtreecommitdiff
path: root/src/subcircuit/openSub.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/subcircuit/openSub.py')
-rw-r--r--src/subcircuit/openSub.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/subcircuit/openSub.py b/src/subcircuit/openSub.py
index 32ad5d39..ba6d0617 100644
--- a/src/subcircuit/openSub.py
+++ b/src/subcircuit/openSub.py
@@ -19,7 +19,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 "