summaryrefslogtreecommitdiff
path: root/src/kicadtoNgspice/Model.py
diff options
context:
space:
mode:
authorrahulp132020-03-02 16:28:11 +0530
committerrahulp132020-03-02 16:28:11 +0530
commita62f5472f9220e51ede51c4d2b98ec154b08f4eb (patch)
treede305f286daf5a1171fd093bed0bafd877efe1fb /src/kicadtoNgspice/Model.py
parent9fcc73d1b18aa763bb918a392a152688cf1fb1ea (diff)
downloadeSim-a62f5472f9220e51ede51c4d2b98ec154b08f4eb.tar.gz
eSim-a62f5472f9220e51ede51c4d2b98ec154b08f4eb.tar.bz2
eSim-a62f5472f9220e51ede51c4d2b98ec154b08f4eb.zip
removed str displaying 'None' on fields
Diffstat (limited to 'src/kicadtoNgspice/Model.py')
-rw-r--r--src/kicadtoNgspice/Model.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/kicadtoNgspice/Model.py b/src/kicadtoNgspice/Model.py
index 6de6d8df..a5757702 100644
--- a/src/kicadtoNgspice/Model.py
+++ b/src/kicadtoNgspice/Model.py
@@ -82,8 +82,7 @@ class Model(QtGui.QWidget):
if child.text == line[2] \
and child.tag == line[3]:
self.obj_trac.model_entry_var
- [self.nextcount].setText(
- str(child[i].text))
+ [self.nextcount].setText(child[i].text)
i = i + 1
except BaseException:
pass
@@ -108,7 +107,7 @@ class Model(QtGui.QWidget):
for child in root:
if child.text == line[2] and child.tag == line[3]:
self.obj_trac.model_entry_var[self.nextcount] \
- .setText(str(child[i].text))
+ .setText(child[i].text)
i = i + 1
except BaseException:
pass