diff options
author | rahulp13 | 2020-03-02 16:28:11 +0530 |
---|---|---|
committer | rahulp13 | 2020-03-02 16:28:11 +0530 |
commit | a62f5472f9220e51ede51c4d2b98ec154b08f4eb (patch) | |
tree | de305f286daf5a1171fd093bed0bafd877efe1fb /src/kicadtoNgspice/Source.py | |
parent | 9fcc73d1b18aa763bb918a392a152688cf1fb1ea (diff) | |
download | eSim-a62f5472f9220e51ede51c4d2b98ec154b08f4eb.tar.gz eSim-a62f5472f9220e51ede51c4d2b98ec154b08f4eb.tar.bz2 eSim-a62f5472f9220e51ede51c4d2b98ec154b08f4eb.zip |
removed str displaying 'None' on fields
Diffstat (limited to 'src/kicadtoNgspice/Source.py')
-rw-r--r-- | src/kicadtoNgspice/Source.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kicadtoNgspice/Source.py b/src/kicadtoNgspice/Source.py index fdcd4adc..e42899e3 100644 --- a/src/kicadtoNgspice/Source.py +++ b/src/kicadtoNgspice/Source.py @@ -102,9 +102,9 @@ class Source(QtGui.QWidget): if child.tag == templist2[0] and \ child.text == line[2]: self.entry_var[self.count] \ - .setText(str(child[0].text)) + .setText(child[0].text) self.entry_var[self.count + 1] \ - .setText(str(child[1].text)) + .setText(child[1].text) except BaseException: pass # Value Need to check previuouse value @@ -148,7 +148,7 @@ class Source(QtGui.QWidget): if child.tag == templist2[0] \ and child.text == line[2]: self.entry_var[self.count] \ - .setText(str(child[0].text)) + .setText(child[0].text) except BaseException: pass @@ -192,7 +192,7 @@ class Source(QtGui.QWidget): if child.tag == templist2[0] \ and child.text == line[2]: self.entry_var[self.count] \ - .setText(str(child[it-4].text)) + .setText(child[it-4].text) except BaseException: pass @@ -235,7 +235,7 @@ class Source(QtGui.QWidget): if child.tag == templist2[0] \ and child.text == line[2]: self.entry_var[self.count] \ - .setText(str(child[it-4].text)) + .setText(child[it-4].text) except BaseException: pass @@ -275,7 +275,7 @@ class Source(QtGui.QWidget): if child.tag == templist2[0] \ and child.text == line[2]: self.entry_var[self.count] \ - .setText(str(child[0].text)) + .setText(child[0].text) except BaseException: pass @@ -318,7 +318,7 @@ class Source(QtGui.QWidget): if child.tag == templist2[0] \ and child.text == line[2]: self.entry_var[self.count] \ - .setText(str(child[it-4].text)) + .setText(child[it-4].text) except BaseException: pass |