diff options
author | nilshah98 | 2019-06-12 20:47:35 +0530 |
---|---|---|
committer | nilshah98 | 2019-06-13 12:16:15 +0530 |
commit | 17eaff1e9ac378ef91115848c2e6a7ddabda49c2 (patch) | |
tree | 8083cec937bb4fafb4b69b2c20598e81a388e0fd /src/kicadtoNgspice/SubcircuitTab.py | |
parent | 8bc2c85b5892c38ecd17449cb7b1a0f0617edcac (diff) | |
download | eSim-17eaff1e9ac378ef91115848c2e6a7ddabda49c2.tar.gz eSim-17eaff1e9ac378ef91115848c2e6a7ddabda49c2.tar.bz2 eSim-17eaff1e9ac378ef91115848c2e6a7ddabda49c2.zip |
double brackets => single brackets
Diffstat (limited to 'src/kicadtoNgspice/SubcircuitTab.py')
-rw-r--r-- | src/kicadtoNgspice/SubcircuitTab.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kicadtoNgspice/SubcircuitTab.py b/src/kicadtoNgspice/SubcircuitTab.py index da6e5c57..52a7a824 100644 --- a/src/kicadtoNgspice/SubcircuitTab.py +++ b/src/kicadtoNgspice/SubcircuitTab.py @@ -61,7 +61,7 @@ class SubcircuitTab(QtGui.QWidget): for eachline in schematicInfo: words = eachline.split() if eachline[0] == 'x': - print(("Subcircuit : Words", words[0])) + print("Subcircuit : Words", words[0]) self.obj_trac.subcircuitList[project_name + words[0]] = words self.subcircuit_dict_beg[words[0]] = self.count subbox = QtGui.QGroupBox() @@ -97,7 +97,7 @@ class SubcircuitTab(QtGui.QWidget): # eg. If the line is 'x1 4 0 3 ua741', there are 3 ports(4, 0 # and 3). self.numPorts.append(len(words) - 2) - print(("Number of ports of sub circuit : ", self.numPorts)) + print("Number of ports of sub circuit : ", self.numPorts) self.addbtn.clicked.connect(self.trackSubcircuit) subgrid.addWidget(self.addbtn, self.row, 2) subbox.setLayout(subgrid) |