summaryrefslogtreecommitdiff
path: root/src/kicadtoNgspice/Model.py
diff options
context:
space:
mode:
authornilshah982019-06-07 19:25:00 +0530
committernilshah982019-06-13 16:11:14 +0530
commit8d628dc33e1190dd1f8827bbd26f998d31d0827a (patch)
tree4e4b7875a125b9e209b6ef09336a30a6470add11 /src/kicadtoNgspice/Model.py
parent89c637c341a281d31ccd63be65a3504d6db79882 (diff)
downloadeSim-8d628dc33e1190dd1f8827bbd26f998d31d0827a.tar.gz
eSim-8d628dc33e1190dd1f8827bbd26f998d31d0827a.tar.bz2
eSim-8d628dc33e1190dd1f8827bbd26f998d31d0827a.zip
projectExplorer made pep8 compliant
Diffstat (limited to 'src/kicadtoNgspice/Model.py')
-rw-r--r--src/kicadtoNgspice/Model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kicadtoNgspice/Model.py b/src/kicadtoNgspice/Model.py
index 6647feb7..a182dd4e 100644
--- a/src/kicadtoNgspice/Model.py
+++ b/src/kicadtoNgspice/Model.py
@@ -62,7 +62,7 @@ class Model(QtGui.QWidget):
# print "Key : ",key
# print "Value : ",value
# Check if value is iterable
- if type(value) is not str and hasattr(value, '__iter__'):
+ if not isinstance(value, str) and hasattr(value, '__iter__'):
# For tag having vector value
temp_tag = []
for item in value: