diff options
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 52a7a824..d15407f7 100644 --- a/src/kicadtoNgspice/SubcircuitTab.py +++ b/src/kicadtoNgspice/SubcircuitTab.py @@ -73,7 +73,7 @@ class SubcircuitTab(QtGui.QWidget): global path_name try: for key in json_data["subcircuit"]: - if key[0] == eachline[0] and key[1] == eachline[1]: + if key == words[0]: # print "Subcircuit MATCHING---",child.tag[0], \ # child.tag[1], eachline[0], eachline[1] try: @@ -203,4 +203,4 @@ class SubcircuitTab(QtGui.QWidget): "Please select a valid Subcircuit directory \ (Containing '.sub' file).") self.msg.setWindowTitle("Error Message") - self.msg.show()
\ No newline at end of file + self.msg.show() |